帝国cms教程

PHP在线获取VIP会员账号API接口代码

帝国cms教程 admin 2020-12-17 人阅读

PHP在线获取VIP会员账号API接口代码,可以获取迅雷会员帐号、爱奇艺会员帐号、优酷会员帐号,接口用的找号网数据,下面是整合的API接口代码。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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];
?>

PHP循环获取会员帐号数据:

内容加载中..
相关专题
API数据接口
API数据接口
2022-11-010

API是开发中必不可少的知识点。API的合理应用可以大大节约开发成本。它收集了关于API接口的信息,包括API接口、API代码和API源代码,帮助你更快地学习和使用API技术。

版权声明:文章搜集于网络,如有侵权请联系本站,转载请说明出处:https://www.51yma.cn/jiaocheng/ECMS/13.html
文章来源:
标签