
Sreg 可对使用者通过输入email、phone、username的返回用户注册的所有互联网护照信息,例如:
➜  Sreg git:(master) python reg_test.py -h
usage: reg_test.py [-h] [-u USER] [-e EMAIL] [-c CELLPHONE]
Check how many Platforms the User registered.
optional arguments:
  -h, --help    show this help message and exit
  -u USER
  -e EMAIL
  -c CELLPHONE
➜  Sreg git:(master) ✗ python reg_test.py -e [email protected]
     .d8888b.
    d88P  Y88b
    Y88b.
     "Y888b.  888d888 .d88b.  .d88b.
        "Y88b.888P"  d8P  Y8bd88P"88b
          "888888    88888888888  888
    Y88b  d88P888    Y8b.    Y88b 888
     "Y8888P" 888     "Y8888  "Y88888
                                  888
                             Y8b d88P
                              "Y88P"
[*] App: Search Registration
[*] Version: V1.0(20150303)
[*] Website: buzz.beebeeto.com
[+] Email Checking: [email protected]
[购物] 淘男网 ( http://www.51taonan.com/)
[IT] 51cto ( http://www.51cto.com)
[娱乐] 一听音乐网 ( http://www.1ting.com/)
[工具] 金山词霸 ( http://www.iciba.com/)
[生活] 58 同城 ( http://www.58.com/)
[名站] 优酷 ( http://www.youku.com)
[IT] 果壳网 ( http://www.guokr.com/)
[购物] 好乐买 ( http://www.okbuy.com/)
[旅行] 艺龙 ( http://www.elong.com/)
[旅游] 凯撒旅游网 ( http://www.caissa.com.cn/)
[旅游] 酷讯旅游网 ( http://www.kuxun.cn)
[娱乐] 乐视网 ( http://www.youku.com)
[IT] CSDN ( http://www.csdn.net/)
[生活] 百合网 ( http://www.baihe.com/)
[购物] 当当网 ( http://www.dangdang.com/)
[+] Results the save path: ./reports/[email protected]
Sreg 一共有三种查询方式:
查询完成后,Sreg 会返回给使用者一个精致的 html 页面供以查看。
编写网站注册查询插件非常简单,首先将想要进行编写的网站在/plugins/建立对应website.json文件。
{
    "information":{
        "author" : "evi1m0",
        "date" : "2015/03/10",
        "name" : "PPTV",
        "website" : "http://www.pptv.com/",
        "category" : "娱乐",
        "icon" : "http://static9.pplive.cn/pub/flagment/v_20150309153320/modules/g-1408-hd/images/logo.png",
        "desc" : "PPTV 聚力-始终和你同一频道,汇聚最清晰,最流畅的网络各类最新热门直播、点播视频。"
    },
    "request" :{
        "cellphone_url" : "http://api.passport.pptv.com/v3/query/loginname_exist.do?logintype=username&username={}",
        "email_url" : "http://api.passport.pptv.com/v3/query/loginname_exist.do?logintype=username&username={}",
        "user_url" : "http://api.passport.pptv.com/v3/query/loginname_exist.do?logintype=username&username={}",
        "method" : "GET",
        "post_fields":{
        }
    },
    "status":{
        "judge_yes_keyword" : "<errorCode>5</errorCode>",
        "judge_no_keyword" : "<errorCode>0</errorCode>",
        "profile_url" : ""
    }
}
如果接口为 POST 方法,则修改 method 为 POST 后,定义 post_fields 为参数字段,例 renren:
"request" :{
    "cellphone_url" : "http://reg.renren.com/AjaxRegisterAuth.do",
    "email_url" : "http://reg.renren.com/AjaxRegisterAuth.do",
    "user_url" : "http://reg.renren.com/AjaxRegisterAuth.do",
    "method" : "POST",
    "post_fields":{
        "authType":"email",
        "value":"",
        "stage":"3"
    }
},
|  |      1ricorico      2015-03-12 23:26:59 +08:00 via iPad _(:з」∠)_ 不是安全相关的论坛没人理你23333 | 
|  |      2v2ex_user001      2015-03-15 12:01:43 +08:00 GOOD JOB |