|
发表于 2018-12-24 20:31:43
|
显示全部楼层
四川省成都市
https://id.ifeng.com/user/register
刷新验证码
GET https://id.ifeng.com/public/authcode?_=1545661657624 HTTP/1.1
Host: id.ifeng.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Accept: image/webp,image/apng,image/*,*/*;q=0.8
Referer: https://id.ifeng.com/user/register
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Cookie: PHPSESSID=1d7e4lmvtc1l2g1iqh38vf35g7
检查手机号是否存在
POST https://id.ifeng.com/api/checkMobile?callback=jQuery18308234497767046651_1545661652527 HTTP/1.1
Host: id.ifeng.com
Connection: keep-alive
Content-Length: 13
Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
Origin: https://id.ifeng.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://id.ifeng.com/user/register
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Cookie: PHPSESSID=1d7e4lmvtc1l2g1iqh38vf35g7
u=手机号
HTTP/1.1 200 OK
Server: ifengweb/1.2.8
Date: Mon, 24 Dec 2018 14:28:11 GMT
Content-Type: text/html
Connection: keep-alive
Vary: Accept-Encoding
Content-Length: 190
(function(){var JsonVarStr___={"code":0,"message":"\u624b\u673a\u53f7\u4e0d\u5b58\u5728","msgcode":"3001","data":{"res":"121"}}; jQuery18308234497767046651_1545661652527(JsonVarStr___);})();
usc2转ansi: 手机号不存在
获取手机验证码
POST https://id.ifeng.com/api/SendMsg?callback=jQuery18308234497767046651_1545661652527 HTTP/1.1
Host: id.ifeng.com
Connection: keep-alive
Content-Length: 28
Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
Origin: https://id.ifeng.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://id.ifeng.com/user/register
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Cookie: PHPSESSID=1d7e4lmvtc1l2g1iqh38vf35g7
auth=plfx&mobile=手机号
返回验证码错误
HTTP/1.1 200 OK
Server: ifengweb/1.2.8
Date: Mon, 24 Dec 2018 14:30:38 GMT
Content-Type: text/html
Connection: keep-alive
Vary: Accept-Encoding
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 173
(function(){var JsonVarStr___={"code":0,"message":"\u9a8c\u8bc1\u7801\u9519\u8bef","msgcode":"4009","data":""}; jQuery18308234497767046651_1545661652527(JsonVarStr___);})();
发送成功
(function(){var JsonVarStr___={"code":1,"message":"\u64cd\u4f5c\u6210\u529f","msgcode":"0","data":{"ccl":6,"res":"0"}}; jQuery18308234497767046651_1545661652527(JsonVarStr___);})();
区别比较msgcode
注册
POST https://id.ifeng.com/api/MobileRegister?callback=jQuery18308234497767046651_1545661652527 HTTP/1.1
Host: id.ifeng.com
Connection: keep-alive
Content-Length: 48
Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
Origin: https://id.ifeng.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://id.ifeng.com/user/register
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Cookie: PHPSESSID=1d7e4lmvtc1l2g1iqh38vf35g7
u=手机号&k=Abc123456&cb=&cert=058995&type=3
返回
HTTP/1.1 200 OK
Server: ifengweb/1.2.8
Date: Mon, 24 Dec 2018 14:33:41 GMT
Content-Type: text/html
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sid=77FDBB619EF92F9EAC01F2C373CFF7D4; expires=Sun, 13-Dec-2020 14:33:41 GMT; Max-Age=62208000; path=/; domain=.ifeng.com
Set-Cookie: IF_TIME=1545662021065; expires=Sun, 13-Dec-2020 14:33:41 GMT; Max-Age=62208000; path=/; domain=.ifeng.com
Set-Cookie: IF_USER=156%2A%2A%2A%2A2314; expires=Sun, 13-Dec-2020 14:33:41 GMT; Max-Age=62208000; path=/; domain=.ifeng.com
Set-Cookie: IF_REAL=0; expires=Sun, 13-Dec-2020 14:33:41 GMT; Max-Age=62208000; path=/; domain=.ifeng.com
Content-Length: 457
(function(){var JsonVarStr___={"code":1,"message":"\u64cd\u4f5c\u6210\u529f","msgcode":"0","data":{"token":"77FDBB619EF92F9EAC01F2C373CFF7D4","guid":"","res":"0","turl":["http:\/\/id.ifeng.com\/index.php\/callback\/set","http:\/\/weixin.fengjr.com:3000\/setCookies"],"uname":"手机号","month":0,"timestamp":1545662021065,"url":"https:\/\/id.ifeng.com\/user\/regsuccess"}}; jQuery18308234497767046651_1545661652527(JsonVarStr___);})();
|
|