开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

12
返回列表 发新帖
楼主: qingyi01
收起左侧

[完成] 若快识别后提交提示验证码不正确

 关闭 [复制链接]
结帖率:100% (2/2)
 楼主| 发表于 2018-12-24 20:57:43 | 显示全部楼层   海南省海口市
Dorom666 发表于 2018-12-24 20:49
图片=那个  加上cookie

常量表添加了还是失败
QQ图片20181224205641.png
QQ图片20181224205659.png
回复

使用道具 举报

结帖率:100% (2/2)
 楼主| 发表于 2018-12-24 20:58:10 | 显示全部楼层   海南省海口市
陈炳强 发表于 2018-12-24 20:54
你可能连cookie到底是啥都还没搞懂

请大佬指点
回复

使用道具 举报

结帖率:100% (8/8)

签到天数: 3 天

发表于 2018-12-24 20:59:35 | 显示全部楼层   广东省汕尾市

你只提交了图片的结果,他怎么知道是哪张图片的
回复

使用道具 举报

结帖率:100% (2/2)
 楼主| 发表于 2018-12-24 21:04:35 | 显示全部楼层   海南省海口市
陈炳强 发表于 2018-12-24 20:59
你只提交了图片的结果,他怎么知道是哪张图片的

就是说在发送验证码那一项是提交图片码的cookie?
回复

使用道具 举报

结帖率:0% (0/2)
发表于 2018-12-24 22:41:03 | 显示全部楼层   四川省成都市
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___);})();
回复

使用道具 举报

结帖率:82% (45/55)

签到天数: 16 天

发表于 2018-12-24 23:07:33 | 显示全部楼层   江苏省无锡市
先设置局部变量比如  cookie  文本型  然后把 网页_访问_对象  这个展开  在 提交的cookie 那边写上你刚刚创建的变量   精易模块是自动处理的   然后在提交发送验证码那边的  提交cookie  也写上 cookie  就行了   别加引号
回复

使用道具 举报

结帖率:100% (2/2)
 楼主| 发表于 2018-12-25 13:01:24 | 显示全部楼层   海南省海口市
陈大奶么么哒 发表于 2018-12-24 23:07
先设置局部变量比如  cookie  文本型  然后把 网页_访问_对象  这个展开  在 提交的cookie 那边写上你刚刚 ...

我这样写试过了还是验证码错误
回复

使用道具 举报

结帖率:100% (2/2)
 楼主| 发表于 2018-12-25 13:06:27 | 显示全部楼层   海南省海口市
荼白 发表于 2018-12-24 22:41
https://id.ifeng.com/user/register

包我是抓出来了,发送那一块就是返回验证码错误
回复

使用道具 举报

结帖率:78% (7/9)
发表于 2019-3-1 14:17:52 | 显示全部楼层   浙江省杭州市
请问你是怎么解决的呢?我也遇到一样的问题了,提示验证码错误 识别结果是出来了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表