| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?php
- set_time_limit(0);
- $database = array(
- "000webhost_com",
- "06_cn_mumayi_jd_com",
- "1010wan_beihaiw_duowan",
- "12306_cn",
- "131_xiu_tianya",
- "17173_com",
- "212300_cxhr_zhaopin_com",
- "24buy_cd",
- "51cto_com_new",
- "51job_com",
- "52pk_com",
- "55_la",
- "766_tuan800_wanmei_37",
- "7k7k_com",
- "admin5_apphan_07073_soyun",
- "aipai_com",
- "all_hack_website",
- "av_creditcard_com_cn",
- "ccident",
- "ccidnet_lashou_com",
- "cnnb_mop_qinbao_jiapin_qd315",
- "cnzz_com",
- "co188_com",
- "csdn_net",
- "damai_cn",
- "dangdang_com",
- "dodonew_com",
- "gfan_com",
- "hiapk_com",
- "houdao_com",
- "ipart_cn",
- "jiangxi_chezhu",
- "jxjatv_073yx_moko_treo8_paojiao",
- "jxrsrc_zhenai",
- "kaixin001_com-ispeak_com",
- "mail_126_com",
- "mail_163_com",
- "mail_qq_sina",
- "mail_qq_sohu",
- "pconline_com_cn",
- "pingan_com",
- "qiannao_dedecms_baofeng",
- "qq_old_password",
- "radius-qingdaonews_com",
- "renren_com",
- "seowhy_shooter-tatazu_book118_cs",
- "sorry_unknown",
- "sorry_unknown2",
- "tgbus_com",
- "tpy100_com-jia_com",
- "uuu9_com",
- "weibo_com",
- "xda_comicdd_game",
- "xiaohua_other",
- "xiaomi_com",
- "yy_com"
- );
- // http://cha.hxsec.com/ajax.php?act=select&key=chendeben&match_act=1&select_act=3&table=ccident
- $postdata['key'] = $_GET['q'];
- $postdata['match_act'] = 1;
- $postdata['select_act'] = 3;
- $data = array();
- foreach ($database as $k => $v) {
- $url = "http://cha.hxsec.com/ajax.php?act=select";
- $postdata['table'] = $v;
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url); // 设置链接
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // 设置是否返回信息
- curl_setopt($ch, CURLOPT_POST, 1); // 设置为POST方式
- curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
- $response = curl_exec($ch); // 接收返回信息
- if ($response && $response != "" && $response != 'key length!!!') {
- $str = (str_replace(array(
- "addRow",
- '(',
- ')',
- ";"
- ), array(
- "",
- "[",
- "]",
- ""
- ), $response));
- $t = json_decode($str, true);
- if ($t)
- $data[] = $t;
- }
- }
- $d['data1']=$data;
- $url="http://www.fangzhuangku.com/function/pwdsearch.php";
- $ch = curl_init();
- $postdata['q']=$_GET['q'];
- curl_setopt($ch, CURLOPT_URL, $url); // 设置链接
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // 设置是否返回信息
- curl_setopt($ch, CURLOPT_POST, 1); // 设置为POST方式
- curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
- $response = curl_exec($ch); // 接收返回信息
- $d['data2']=json_decode($response,true);
- echo json_encode($d);
|