得物 小程序 6宫格 分析

声明

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

部分python代码

复制代码
    if result == 'bicycle':
        covert = '自行车'
    elif result == 'couch':
        covert = '沙发'
    elif result == 'car':
        covert = '汽车'
    elif result == 'cat':
        covert = '猫'
    elif result == 'dog':
        covert = '狗'
    elif result == 'Basketball':
        covert = '篮球'
    elif result == 'boat':
        covert = '船'
    elif result == 'horse':
        covert = '马'
    elif result == 'train':
        covert = '火车'
    if  covert == keyword:
        start_target = int(i.split("/")[-1].split(".")[0])
        break
    endtime = timeit.default_timer()
    print("单次调用模型预测时间为:", endtime - starttime)
# starttime = timeit.default_timer()
# print(predictWithImageBase64(base64String))
# endtime = timeit.default_timer()
# print("单次调用模型预测时间为:", endtime - starttime)
start_target = int(start_target)
end_target = int(end_target)
print(f'我的初始点{start_target} 我的移动终点目标是第{end_target}')
data=cp.call('verfiy',start_target,end_target,sessionId)
print(data)
headers = {
    'Accept': '*/*',
    'Accept-Language': 'zh-CN,zh;q=0.9',
    'Appid': 'wxapp',
    'Connection': 'keep-alive',
    'Content-Type': 'application/json',
    'Referer': '',
    'SK': SK,
    'Sec-Fetch-Dest': 'empty',
    'Sec-Fetch-Mode': 'cors',
    'Sec-Fetch-Site': 'cross-site',
    'User-Agent': ',
    'bcn': 'dewu',
    'platform': 'wx',
    'traceparent': traceparent,
    'userId': userId,
    'xweb_xhr': '1',
}
json_data = {
    'd': data['d'],
    'sign': data['sign'],
}

response = requests.post('risk-stone-captcha/captcha/verify', headers=headers,
                         json=json_data)

print(response.text)

总结

总结

1.出于安全考虑,本章未提供完整流程,调试环节省略较多,只提供大致思路,具体细节要你自己还原,相信你也能调试出来。

相关推荐
JAVA面经实录91712 小时前
完整版Spring全家桶学习体系
java·spring boot·spring·面试
deepin_sir12 小时前
01 - Python 简介与环境搭建
开发语言·python
Royzst12 小时前
Java File 核心知识点
java
北风toto12 小时前
系统单一时区场景下的时间类型传输设计方案(固定时区:东八区)
java
之歆12 小时前
Claude Code 多账号体系实战:终端别名、脚本与 IDEA CC GUI 切换指南
java·ide·intellij-idea
Lyyaoo.12 小时前
Minio快速入门
java
Nyarlathotep011312 小时前
并发集合类(4):PriorityBlockingQueue
java·后端
资源分享助手12 小时前
The-Book-Of-Secret-Knowledge 趣味冷知识探索指南
java·服务器·前端
lazyn12 小时前
vLLM 目前尚无法支持 Codex CLI:Responses API 兼容性问题的深度剖析与修复跟踪
python·大模型·codex·vllm
markyankee10112 小时前
从零开始:LLM、RAG、LangChain、大模型开发概述
人工智能·python