京东随机变速滑块拼图验证码识别(京东E卡)

声明

本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口 等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!

侵权通过头像私信或名字简介叫我删除博客谢谢。

部分python代码

复制代码
data = huakuai.call('getBg',.....)
print(data)
 
response = requests.post('/cgi-bin/api/check', cookies=cookies, headers=headers, data=data)
data = response.json()
imgStr = data["img"]
img = json.loads(imgStr)
b1 = img['b1']
b2 = img['b2']
with open('b1.jpg','wb') as f:
    f.write(base64.b64decode(b1.replace('data:image/jpg;base64,','')))
with open('b2.png','wb') as f:
    f.write(base64.b64decode(b2.replace('data:image/png;base64,','')))
# verify(st, sessionId, distance)
with open('b1.jpg','rb') as fp:
    background_bytes = fp.read()
with open('b2.png','rb') as fp:
    target_bytes = fp.read()
res = det.slide_match(target_bytes, background_bytes, simple_target=True)
...............
data = huakuai.call('verify',account,capfp,st,sessionId,imgStr,new_track,img)
response = requests.post('cgi-bin/api/check', cookies=cookies, headers=headers, data=data)
data = response.json()
print(data)

结果

总结

1.出于安全考虑,本章未提供完整流程,调试环节省略较多,只提供大致思路,具体细节要你自己还原,相信你也能调试出来。
2.具体更多细节请看名字进入详情了解更多细节,具体细节要你自己还原,相信你也能调试出来。
相关推荐
guo_wen_qiang5 分钟前
云服务器nacos搭建-集群&持久化
java·运维·服务器
泡海椒16 分钟前
JQuick-Excel dateFormat 转换实战:日期值与 FORMAT 显示格式的边界
开发语言·python·excel
念越20 分钟前
接口自动化测试从入门到实战:接口用例设计、Requests、Pytest、YAML、JSON Schema 与 Allure 报告
python·测试工具·自动化·json·pytest
言乐624 分钟前
Python贪心算法实现搜索推荐
python·django·virtualenv·pygame·tornado
benchmark_cc29 分钟前
A股量化尾盘筛选对数据时效敏感:行情链路变慢时先排查哪里?
python·数据分析·pandas·量化交易·股票数据·quantdash
江江爱编程36 分钟前
java零基础保姆级教学01
java·开发语言
牢姐与蒯37 分钟前
一点小碎片——每个线程独有的东西——上下文+栈
linux·运维·服务器
96245637 分钟前
餐饮 SaaS 优惠券系统架构演进(三):优惠计算引擎——商品级计价、冲突策略与优惠分摊
java·数据库·spring boot
vx_Biye_Design40 分钟前
expressDeepSeek社团咨询助手的学生社团管理系统60746-计算机课程设计、毕业设计
java·vue.js·spring boot·后端·python·课程设计·express
传人42 分钟前
悬停旋转放大和位移效果如何写
前端·javascript·css