-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jinitrace with frida gadget #36
Comments
Hi, Thank you. I'm glad you like the tool. So I think the issue is that you need to combine the commands you are trying. If you are connecting to a remote device you need the following: jnitrace -l * -R : Gadget If the device is local you should just need this: jnitrace -l * Gadget Let me know if that helps. Thanks |
Thank you for your answer. I forgot to mention that I am using termux on the actual device to trace jni. I don't know if termux needs different command. Unfortunately, it didn't work. Both solutions failed. For the first idea, here is the error: ~/.../shared/Download $ jnitrace -l libnex* Gadget For the second, the error is slightly different: ~/.../shared/Download $ jnitrace -l libnex* -R : Gadget |
Okay, can you try this: jnitrace -l libnex* -R 127.0.0.1:27042 re.frida.Gadget |
What I have done is making frida to read a customized configuration and listen in all interfaces
Run the app with frida gadget integrated, and wait. Then invoke the following command to use jni trace from PC in the same LAN
|
Are you having the same issues for this one on newer Frida versions? |
Hi, first thank you for writing this script.
I am trying to run it on unrooted android using frida gadget.
The server has been included correctly in the apk and loaded correctly (confirmed with frida-ps -R).
But can't run it using jnitrace.
I started the app with gadget config set to "wait".
I tried the following code but all failed with error related to target:
jnitrace: error: the following arguments are required: target
The command tested are the following:
jnitrace -l * -R Gadget
jnitrace -l * -R re.frida.Gadget
jnitrace -l * -R localhost
jnitrace -l * -R localhost:27042
jnitrace -l * -R 127.0.0.1:27042
jnitrace -l * -R 127.0.0.1
None are working.
If I tried to run:
frida --codeshare chame1eon/jnitrace -R Gadget
It works but the output is a little messy and prefer using the python wrapper of jnitrace instead.
Any idea how to make it work?
Thank you.
The text was updated successfully, but these errors were encountered: