使用way2 解密失败
ekko-zhao opened this issue · 8 comments
ekko-zhao commented
使用way2 解密失败
ekko-zhao commented
ekko-zhao commented
微信版本号:3.4.1
TinyNiko commented
收到,晚点我排查一下
TinyNiko commented
我用的3.5.5 的版本,测试了一下这个app 可以正常的解密并写文件。 我猜测应该是小程序的路径不对导致的,比如正常的path是
var path = "/Users/xxx/Library/Group Containers/xxxx.com.tencent.xinWeChat/Library/Caches/xinWeChat/xxxxxxx/WeApp/LocalCache/release/wxbd0da7ae0808ff3c/13.wxapkg";
, 如果路径不对, 我这边也会出现上面的错误
LuCatIsFun commented
不要以"~/Library/"这种方式写,而是需要用绝对路径"/Users/你的用户名/Library/"
另外别忘了改输出位置
halohsu commented
➜ mac_wxapkg_decrypt git:(main) ✗ sudo frida 1093 -l _agent.js
Password:
____
/ _ | Frida 16.0.11 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
. . . .
. . . . Connected to Local System (id=local)
Error: Operation not permitted
at <anonymous> (/Users/bluemiaomiao/Developer/mac_wxapkg_decrypt/_agent.js:22)
at call (native)
at o (node_modules/browser-pack/_prelude.js:1)
at r (node_modules/browser-pack/_prelude.js:1)
at <eval> (/Users/bluemiaomiao/Developer/mac_wxapkg_decrypt/_agent.js:27)
at evaluate (native)
at <anonymous> (/frida/repl-2.js:1)
TobyXi1997 commented
TinyNiko commented
比较简单的方法是先用frida ,不带 -l 看看能不能正常attach, 如果不行,需要找frida 官方的人反馈一下了