action_data = {
"score": 10086,"times": 666,"game_data": "{}"
}
抓包获取 short.weixin.qq.com 请求的 sid https://zhuanlan.zhihu.com/p/32473340
session_id = "5TrXoE7IXtM/Nr7vITnbU9bmR53VH0u8RkVnm6m/Fezg=="
aes_key = session_id[0:16]
aes_iv = aes_key
cryptor = AES.new(aes_key,AES.MODE_CBC,aes_iv)
str_action_data = json.dumps(action_data).encode("utf-8")
print("json_str_action_data ",str_action_data)
Pkcs7
length = 16 - (len(str_action_data) % 16)
str_action_data += bytes([length])*length
cipher_action_data = base64.b64encode(cryptor.encrypt(str_action_data)).decode("utf-8")
print("action_data ",cipher_action_data)
post_data = {
"base_req": {
"session_id": session_id,"fast": 1,},"action_data": cipher_action_data
}
headers = {
"charset": "utf-8","Accept-Encoding": "gzip","referer": "https://servicewechat.com/wx7c8d593b2c3a7703/3/page-frame.html","content-type": "application/json","User-Agent": "MicroMessenger/6.6.1.1200(0x26060130) NetType/WIFI Language/zh_CN","Content-Length": "0","Host": "mp.weixin.qq.com","Connection": "Keep-Alive"
}
url = "https://mp.weixin.qq.com/wxagame/wxagame_settlement"
response = requests.post(url,json=post_data,headers=headers)
print(json.loads(response.text))
http://www.site-digger.com/html/articles/20160509/123.html Android安装Fiddler证书抓取App的HTTPS流量
假设Fiddler所在主机的IP是192.168.199.128。在Android上打开Web浏览器,访问http://192.168.199.128:8888
点击“FiddlerRoot certificate”连接,输入一个证书名称(任意),点确定即可(若未设置解锁密码,需要先设置)。
确认一下证书是否安装成功:设置 -> 安全 -> 受信任的凭证 -> 用户。看到”DO_NOT_TRUST“即说明安装成功。
http://blog.csdn.net/roland_sun/article/details/30078353 https://github.com/wangshub/wechat_jump_game https://mp.weixin.qq.com/s?__biz=MjM5MDEyMDk4Mw==&mid=2650166762&idx=1&sn=261c0b58adb19423b5440eeb31ad03d9&chksm=be4b5892893cd18474a16084f825936be858adadf7773323863f65e96ac918d39832ac3e5327&mpshare=1&scene=1&srcid=1230LP2caj9anvLdP9LUOwMd&pass_ticket=ziqUjGI4WD5ZCkEKYZ4ub1nf50251tQoJBWKyowpU9DLzLI7YX7PSPoHjxEsQOSI#rd
微信启动 http://dldir1.qq.com/weixin/checkresupdate/launchimagejpg_android_1506223241.jpg
"跳一跳"小游戏竟然隐藏上分彩蛋! https://mp.weixin.qq.com/s?__biz=MjM5NjgzNzI0Mw==&mid=2651053002&idx=1&sn=987709729bfaa586a5cdb2826f4247e1&chksm=bd1459de8a63d0c8f81293494f0f39625f78cf2fe6518639440aa5395739bae42087097d77d6&mpshare=1&scene=1&srcid=12287YEvYgfvaIqM9VZlQ0Xl&pass_ticket=8hE3oK9LLzlJzyaTms%2BZxZqXan1K1839LZP%2FOMvNnUVMMp0Lses0whvewo41xDzR#rd
http://blog.devtang.com/2015/11/14/charles-introduction/ Charles 从入门到精通
原文链接:https://www.f2er.com/weapp/416980.html