两个小方法能将腾讯网址安全检测系统屏蔽掉,使检测系统无法判断网站内容,也能屏蔽掉一些小人恶意举报。
一,iptables屏蔽
iptables屏蔽以下ip段:
58.60.9.0~58.60.9.255
58.61.32.0~58.61.33.255
103.238.16.0~103.238.19.255
116.57.254.0~116.57.255.255
119.147.15.0~119.147.18.255
125.218.29.0~125.218.29.255
203.195.64.0~203.195.95.255
203.205.128.0~203.205.255.255
219.133.60.0~219.133.60.255
219.133.62.0~219.133.62.255
219.133.234.164~219.133.234.167
101.198.0.0~101.199.255.255
101.226.33.0~101.226.33.255
二,判断HEADER
if(preg_match("/manager/", strtolower($_SERVER['HTTP_USER_AGENT'])) || strpos($_SERVER['HTTP_USER_AGENT'], 'Mozilla')===false && strpos($_SERVER['HTTP_USER_AGENT'], 'ozilla')!==false || isset($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], 'urls.tr.com')!==false || isset($_COOKIE['ASPSESSIONIDQASBQDRC']) || empty($_SERVER['HTTP_USER_AGENT']) || strpos($_SERVER['HTTP_USER_AGENT'], 'HUAWEI G700-U00')!==false && !isset($_SERVER['HTTP_ACCEPT']) || preg_match("/Alibaba.Security.Heimdall/", $_SERVER['HTTP_USER_AGENT'])) {
exit(pr_html('欢迎使用!'));
}
if( strpos($_SERVER['HTTP_USER_AGENT'], '360Spider')!==false || strpos($_SERVER['HTTP_USER_AGENT'], 'haosouspider')!==false ) {
exit(pr_html('欢迎使用!'));
}
if(strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone OS 9_3_4')!==false && $_SERVER['HTTP_ACCEPT']=='*/*' || strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone OS 8_4')!==false && $_SERVER['HTTP_ACCEPT']=='*/*' || strpos($_SERVER['HTTP_USER_AGENT'], 'Android 6.0.1')!==false && strpos($_SERVER['HTTP_USER_AGENT'], 'MQQBrowser/6.8')!==false && $_SERVER['HTTP_ACCEPT']=='*/*' || strpos($_SERVER['HTTP_ACCEPT_LANGUAGE'], 'en')!==false && strpos($_SERVER['HTTP_ACCEPT_LANGUAGE'], 'zh')===false || strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone')!==false && strpos($_SERVER['HTTP_USER_AGENT'], 'en-')!==false && strpos($_SERVER['HTTP_USER_AGENT'], 'zh')===false) {
exit(pr_html('您当前浏览器不支持或操作系统语言设置非中文,无法访问本站!'));
}
//if(preg_match("/Windows NT 6.1/", $_SERVER['HTTP_USER_AGENT']) && $_SERVER['HTTP_ACCEPT']=='*/*'|| preg_match("/Windows NT 5.1/", $_SERVER['HTTP_USER_AGENT']) && $_SERVER['HTTP_ACCEPT']=='*/*' || preg_match("/vnd.wap.wml/", $_SERVER['HTTP_ACCEPT']) && preg_match("/Windows NT 5.1/", $_SERVER['HTTP_USER_AGENT'])){
/*exit(pr_html('该设备太落后了,请更新设备!'));
}*/
function pr_html($text)
申述通道
如果域名已经被报毒 解决办法只有申诉
电脑管家地址:
http://eps.gs/afA
安全联盟地址:
http://eps.gs/afB
电脑管家论坛:
http://eps.gs/afC
腾讯客服QQ:800090241
日期:2017年12月16日 17:07:12 星期六 分类:
好文分享 浏览(50148)
本文地址:https://www.blogs.hk/post-2978.html [
百度已收录]
声明:本页信息由网友自行发布或来源于网络,真实性、合法性由发布人负责,请仔细甄别!本站只为传递信息,我们不做任何双方证明,也不承担任何法律责任。文章内容若侵犯你的权益,请联系本站删除!
留言咨询