您好,欢迎访问一九零五行业门户网

最简单的PHP小偷源码

各位这只是简单的小偷程序,大家学习一下就好,不要做非法用途哈!!
不懂或者不会的请回复
/si,,$str); $str=preg_replace(/\s+/, , $str); $str=preg_replace(//si,,$str); $str=preg_replace(/(.*?)/si,,$str); $str=preg_replace(//si,,$str); $str=preg_replace(/javascript/si,javascript,$str); $str=preg_replace(/vbscript/si,vbscript,$str); $str=preg_replace(/on([a-z]+)\s*=/si,on\\1=,$str); return $str; }function urlchange($str) { global $server_url,$scriptname,$thismulu; $str = preg_replace('/src=([|\']?)\//', 'src=\\1'.$server_url.'/', $str); $str = preg_replace('/]+)href=([|\']?)\/?/', ' $str = preg_replace('/]+)href=([|\']?)\/?/', ' $str=str_ireplace('/javascript:;','#',$str); $str=str_ireplace(''.$scriptname.'/',$scriptname,$str); return $str; }function charset($str){ if(preg_match('#]*charset\s*=\s*utf-8#ius',$str)){ $str=preg_replace('/charset\s*=\s*utf-8/i','charset=gb2312',$str); $str=iconv(utf-8, gb2312//ignore, $str); } return $str; }$body=urlchange(filter(charset(curl_get($url))));//-------------替换开始----------------------$body=preg_replace('#>精品推荐(.*)
#si',,$body);
//正则替换,这里我就不多说啦,ps:其实我也不大会正则//ps:可写多个$body=str_ireplace('action=/v','action=index.php/v',$body);//$body=str_ireplace('您要替换的内容','你想替换成的内容',$body);//ps:可写多个//嘻嘻,欢迎大家去我博客做客//------------替换结束------------------------echo $body;?>
复制代码
其它类似信息

推荐信息