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

6.6k Views Asked by At

I want to bypass root detection, certificate pinning, and a crc integrity check for an android app using Frida. I can't run more than 1 script at once, is there any solution?

2

There are 2 best solutions below

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

you can try this too

2
On

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

Push frida-inject & the scripts to the device and execute the following that iterates scripts , inject them to the process and exists.

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

frida-inject options