APP逆向实战分析:红星新闻Secret
声明本文章中所有内容仅供学习交流使用不用于其他任何目的抓包内容、敏感网址、数据接口 等均已做脱敏处理严禁用于商业用途和非法用途否则由此产生的一切后果均与作者无关有相关问题请第一时间点击头像看简介或私信联系我删除博客部分python 代码def call_search(keyword金价, udidUDID): ts str(int(time.time() * 1000)) secret get_secret(ts) device_info { UserId: -1, Secret: secret, Version: V7.4.3, JPushRegId: , } body json.dumps({keyWord: keyword, sort: time, channels: 3008,3001,3002,3006,1,3005,42,3030,3031,3138, timestamp: 0, pageNum: 1}).encode() req urllib.request.Request( /cdsb_app/api3/Search4Posts, databody, methodPOST) with urllib.request.urlopen(req, timeout15) as r: return r.status, r.read() if __name__ __main__: print(call_search())结果总结1.出于安全考虑,本章未提供完整流程,调试环节省略较多,只提供大致思路,具体细节要你自己还原,相信你也能调试出来。2.具体更多细节请看名字进入详情了解更多细节具体细节要你自己还原,相信你也能调试出来。