千域资源网,QQ技术教程网,技术资源网,QQ黑客技术, QQ资源网,黑客资源网,QQ技术网,免费资源分享平台,让我们的技术更上一层楼!
大家都在搜   老司机 黑客教程 外挂 福利活动
流量卡免费送·直销潮服名表 财富波色 🔥大流量低消费移动上网卡🔥 广告位招租点击查看详细价格 广告位招租点击查看详细价格
广告位招租点击查看详细价格 广告位招租点击查看详细价格 🔥大流量低消费移动上网卡🔥 广告位招租点击查看详细价格 广告位招租点击查看详细价格
广告位招租点击查看详细价格 广告位招租点击查看详细价格 🔥大流量低消费移动上网卡🔥 广告位招租点击查看详细价格 广告位招租点击查看详细价格
广告位招租点击查看详细价格 广告位招租点击查看详细价格 🔥大流量低消费移动上网卡🔥 广告位招租点击查看详细价格 广告位招租点击查看详细价格

php反腾讯报毒检测代码

浏览次数:4567发布时间:2019-7-10 11:27文章分类: 网站源码

本次为大家带来的是php反腾讯报毒检测代码代码可以防止腾讯的抓取检测,但是如果被人为举报很多次也是会报毒的 
<?php /* 反腾讯网址安全检测系统 Description:屏蔽腾讯电脑管家网址安全检测 Version:2.6 Author:消失的彩虹海 */ //IP屏蔽
$iptables = '977012992~977013247|977084416~977084927|1743654912~1743655935|1949957632~1949958143|2006126336~2006127359|2111446272~2111446527|3418570752~3418578943|3419242496~3419250687|3419250688~3419275263|3682941952~3682942207|3682942464~3682942719|3682986660~3682986663|1707474944~1707606015|1709318400~1709318655|1884967642|1884967620|1893733510|1709332858|1709325774|1709342057|1709341968|1709330358|1709335492|1709327575|1709327041|1709327557|1709327573|1975065457|1902908741|1902908705|3029946827';
$remoteiplong = bindec(decbin(ip2long(real_ip())));
foreach (explode('|', $iptables) as $iprows) {
if ($remoteiplong == $iprows) exit('360。!');
$ipbanrange = explode('~', $iprows);
if ($remoteiplong >= $ipbanrange[0] && $remoteiplong <= $ipbanrange[1]) exit('360。!');
}
//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('360。!');
}
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('360。');
}
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('360。');
}
function real_ip() {
$ip = $_SERVER['REMOTE_ADDR'];
if (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && preg_match_all('#\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}#s', $_SERVER['HTTP_X_FORWARDED_FOR'], $matches)) {
foreach ($matches[0] AS $xip) {
if (!preg_match('#^(10|172\.16|192\.168)\.#', $xip)) {
$ip = $xip;
break;
}
}
} elseif (isset($_SERVER['HTTP_CLIENT_IP']) && preg_match('/^([0-9]{1,3}\.){3}[0-9]{1,3}$/', $_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (isset($_SERVER['HTTP_CF_CONNECTING_IP']) && preg_match('/^([0-9]{1,3}\.){3}[0-9]{1,3}$/', $_SERVER['HTTP_CF_CONNECTING_IP'])) {
$ip = $_SERVER['HTTP_CF_CONNECTING_IP'];
} elseif (isset($_SERVER['HTTP_X_REAL_IP']) && preg_match('/^([0-9]{1,3}\.){3}[0-9]{1,3}$/', $_SERVER['HTTP_X_REAL_IP'])) {
$ip = $_SERVER['HTTP_X_REAL_IP'];
}
return $ip;
}
千域资源网 - 本站版权及下载说明

1、本站资源来自互联网收集,仅供用于学习和交流,请于下载后24小时内删除。

2、同类型的网站与软件站 在转载本站原创软件时请注明软件来源:千域资源网

3、本站提供的所有工具,不保证绝对安全无毒,点击下载:影子系统

4、本文链接:https://www.7000s.cn/wzym/5304.html 百度收录:[已收录]

二维码