signature解密
https://bbs.125.la/forum.php?mod=viewthread&tid=14835651
(出处: 精易论坛)
他的sign和时间戳在请求头里,所以这样设置正则:timestamp: (\d+)[\w\W]+zh-sign: ([A-Za-z0-9\+/=]+)
$2做密文,$1做已知部分
像这样配置:
日志
[Plain Text] 纯文本查看 复制代码 23:23.109: 已设置系统代理
23:23.112: ╔—— 已开启抓包,端口:8889 ——╗
23:31.750: OPTIONS https://api-edge.cognitive.m...
23:32.200: POST https://api-edge.cognitive.micr...
23:34.198: OPTIONS https://int.qiyuan.changan.c...
23:34.430: POST https://int.qiyuan.changan.com....
23:34.433: 匹配到:[POST https://int.qiyuan.changan.com.cn/user/login
Accept: application/json, text/plain, */*
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
Connection: keep-alive
Content-Length: 147
Content-Type: application/json;charset=UTF-8
Host: int.qiyuan.changan.com.cn
Origin: https://bac.qiyuan.changan.com.cn
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
channel: h5
os: H5
osV2: H5
sec-ch-ua: "Microsoft Edge";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
timestamp: 1727691814024
token:
version: 1.0.0
zh-sign: B468642D67E8D0F14F687AF77A8EEADB
{"graphicsKey":"graphicsKey893200995754647552","imgCode":"1111","isApp":"10","phone":"15612121212","dynamicPassword":"222222","parentId":"9029398"}]
23:35.110: 已Dump进程:2724 Dump文件5.dmp
23:35.240: 已Dump进程:17328 Dump文件3.dmp
23:35.256: 已Dump进程:17072 Dump文件0.dmp
23:35.261: 已Dump进程:17012 Dump文件9.dmp
23:35.270: 已Dump进程:17264 Dump文件2.dmp
23:35.286: 已Dump进程:7516 Dump文件8.dmp
23:35.304: 已Dump进程:340 Dump文件6.dmp
23:35.316: 已Dump进程:10552 Dump文件4.dmp
23:35.329: 已Dump进程:22388 Dump文件7.dmp
23:35.496: 已Dump进程:17252 Dump文件1.dmp
23:35.544: ╚—— 已停止抓包 ——╝
23:35.570: ╔—— 开始构建索引 ——╗
23:35.690: 已映射:Dump文件8.dmp 大小:28722085
23:35.717: 分析完成
23:35.724: 去重完成
23:35.728: 索引完成
23:35.733: 已映射:Dump文件6.dmp 大小:51478629
23:35.758: 分析完成
23:35.764: 去重完成
23:35.768: 索引完成
23:35.773: 已映射:Dump文件7.dmp 大小:133491829
23:35.813: 分析完成
23:35.819: 去重完成
23:35.825: 索引完成
23:35.830: ╚—— 构建索引完成,整体耗时:250 ——╝
23:35.870: ╔—— 开始计算 ——╗
23:35.877: 计算MD4
23:35.883: 计算MD5
23:35.891: MD5:66CBE3A2BC559E9EA641EE60937DD90121EAFE47E4320289F109877527881CDFDF052AABE5426E019E6523833BDB162C7D6C2888DE736751A982848015E4401B9475E5D9F63EE22EDF029A097D2B4EAFDC39B6FF48285152DD2C4E3F79BE3A7F2411F7CD8FE643E29C974AEB59E5B81B7BC563262A70F30E8A2F528D18167AC366A3F94E3BFD65D44BFDE8A06789C5BAE4889B7B9C81BA2CCC47B843E824795CC838725920558B04771457ACE7EF8906FCD957814611ED8C182F734BC67B6BAE1DB43F315220A2CA38901097F656FFA7F8817F09207E8DA7C0BC5CB3B36568B399DF984E6BEB01B7C2398B124A38871302B8CA955216726852C2BA3385645615DF9DAC057B267F6FE9531E7032591F6E8B6BF7D7D8B1EAA3F53CCA4404C65F6D014BD8715A9E022DEA6E942989D8A6DED84EBB74332665DE523F852257EA666584E2C014487B714D5E95FFFA764FC3EDF7D4FABB49E97242639E436E6CABDC8BC5B9CCFB915F07688D9D36BADEEB3A364FC26869B25BB70FF1FB033996F114EC45BA670B5ED60CFD6E0E63EEDA7DC1C3D88F19FE65EE816C470BE2D1A2C8A975A5913261F5150A79919B29BFE3CA780EE5FD5BE8D79547EA4AC27C36EB1C4A1F367538CBB4A4CCBAEC2DC7336EB874835865D327B93771BCB53A8D18A80D54B51134B1B4A5365795F1FEFEE022C39C03B6813C7865CBDEF98A400C93A40C612FC47D15FB030A0B81877E78F932714BB8A9358682AF80E8448273571B43B266585842DF01EE2D19E309017113D9F6313F499EE9396F82D8BDD14DFBDA934161EB196965B133665F03E3F17EA502C0E6F85CF79414BBD43945B2B333F729E841C813C1846D6BDAE0248C66927E75CEA392E7DD0D74B871EBF4E4EBC43FB38CEA28
23:35.901: ╚—— 计算完成,整体耗时:31 ——╝
|