getmypassword.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?php
  2. set_time_limit(0);
  3. $database = array(
  4. "000webhost_com",
  5. "06_cn_mumayi_jd_com",
  6. "1010wan_beihaiw_duowan",
  7. "12306_cn",
  8. "131_xiu_tianya",
  9. "17173_com",
  10. "212300_cxhr_zhaopin_com",
  11. "24buy_cd",
  12. "51cto_com_new",
  13. "51job_com",
  14. "52pk_com",
  15. "55_la",
  16. "766_tuan800_wanmei_37",
  17. "7k7k_com",
  18. "admin5_apphan_07073_soyun",
  19. "aipai_com",
  20. "all_hack_website",
  21. "av_creditcard_com_cn",
  22. "ccident",
  23. "ccidnet_lashou_com",
  24. "cnnb_mop_qinbao_jiapin_qd315",
  25. "cnzz_com",
  26. "co188_com",
  27. "csdn_net",
  28. "damai_cn",
  29. "dangdang_com",
  30. "dodonew_com",
  31. "gfan_com",
  32. "hiapk_com",
  33. "houdao_com",
  34. "ipart_cn",
  35. "jiangxi_chezhu",
  36. "jxjatv_073yx_moko_treo8_paojiao",
  37. "jxrsrc_zhenai",
  38. "kaixin001_com-ispeak_com",
  39. "mail_126_com",
  40. "mail_163_com",
  41. "mail_qq_sina",
  42. "mail_qq_sohu",
  43. "pconline_com_cn",
  44. "pingan_com",
  45. "qiannao_dedecms_baofeng",
  46. "qq_old_password",
  47. "radius-qingdaonews_com",
  48. "renren_com",
  49. "seowhy_shooter-tatazu_book118_cs",
  50. "sorry_unknown",
  51. "sorry_unknown2",
  52. "tgbus_com",
  53. "tpy100_com-jia_com",
  54. "uuu9_com",
  55. "weibo_com",
  56. "xda_comicdd_game",
  57. "xiaohua_other",
  58. "xiaomi_com",
  59. "yy_com"
  60. );
  61. // http://cha.hxsec.com/ajax.php?act=select&key=chendeben&match_act=1&select_act=3&table=ccident
  62. $postdata['key'] = $_GET['q'];
  63. $postdata['match_act'] = 1;
  64. $postdata['select_act'] = 3;
  65. $data = array();
  66. foreach ($database as $k => $v) {
  67. $url = "http://cha.hxsec.com/ajax.php?act=select";
  68. $postdata['table'] = $v;
  69. $ch = curl_init();
  70. curl_setopt($ch, CURLOPT_URL, $url); // 设置链接
  71. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // 设置是否返回信息
  72. curl_setopt($ch, CURLOPT_POST, 1); // 设置为POST方式
  73. curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
  74. $response = curl_exec($ch); // 接收返回信息
  75. if ($response && $response != "" && $response != 'key length!!!') {
  76. $str = (str_replace(array(
  77. "addRow",
  78. '(',
  79. ')',
  80. ";"
  81. ), array(
  82. "",
  83. "[",
  84. "]",
  85. ""
  86. ), $response));
  87. $t = json_decode($str, true);
  88. if ($t)
  89. $data[] = $t;
  90. }
  91. }
  92. $d['data1']=$data;
  93. $url="http://www.fangzhuangku.com/function/pwdsearch.php";
  94. $ch = curl_init();
  95. $postdata['q']=$_GET['q'];
  96. curl_setopt($ch, CURLOPT_URL, $url); // 设置链接
  97. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // 设置是否返回信息
  98. curl_setopt($ch, CURLOPT_POST, 1); // 设置为POST方式
  99. curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
  100. $response = curl_exec($ch); // 接收返回信息
  101. $d['data2']=json_decode($response,true);
  102. echo json_encode($d);