frida / frida-tools

Frida CLI tools
Other
344 stars 93 forks source link

Spaw process not loading script. #61

Open hotwhitewind opened 3 years ago

hotwhitewind commented 3 years ago

When spawn android process in Android Studio emulator (7.1.1 Android versuon, x86) with frida cmd line like this : frida -U - f com.anybodyapp.app -l workscript.js, script not worked without any error message. When this script load with attach (frida -U - n com.anybodyapp.app -l workscript.js) this worked perfect.

hotwhitewind commented 3 years ago

Host system Windows 10 and Debian 10 trying.

hotwhitewind commented 3 years ago

Emulator Genymotion trying, without success

s1341 commented 3 years ago

did you %resume?

hotwhitewind commented 3 years ago

Yes.

hotwhitewind commented 3 years ago

Also I used the frida-trace tool with frida-trace -U -f com.anyapp.app -j ' NeedJavaClass!NeedFunc' but it does not patch any function tracing, although if you use this tool in attaching mode (to an already running application) then the NeedFunc function is perfectly traced.

hotwhitewind commented 3 years ago

It feels like spawn doesn't work at all