简体   繁体   English

如何让多个Java脚本在Frida中并发运行?

[英]How can I let multiple Java scripts to run concurrently in Frida?

I want to bypass root detection, certificate pinning, and a crc integrity check for an android app using Frida.我想使用 Frida 绕过 android 应用程序的根检测、证书固定和 crc 完整性检查。 I can't run more than 1 script at once, is there any solution?我一次不能运行超过 1 个脚本,有什么解决办法吗?

Concatenate all scripts into one file and load is the trivial (and probably good enough) answer.将所有脚本连接到一个文件中并加载是微不足道的(并且可能足够好)的答案。

I have another suggestion that you can do even without a computer, just put text editor on your device and get a bluetooth keyboard.我有另一个建议,即使没有电脑也可以,只需将文本编辑器放在设备上并获得蓝牙键盘即可。

frida-inject which can be downloaded from frida release page frida-inject可以从frida 发布页面下载

Push frida-inject & the scripts to the device and execute the following that iterates scripts, inject them to the process and exists. frida-inject和脚本推送到设备并执行以下迭代脚本,将它们注入进程并存在。

for f in $(ls /sdcard/scripts/*js) do; ./frida-inject -p $(pidof com.app.name) -s $f --eternalize

frida-inject options frida 注入选项

frida -U -f [APP_ID] -l script1.js -l script2.js

you can try this too你也可以试试这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM