Skip to content
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

Auto insert Java.perform when connecting to an Android application #74

Closed
yotamN opened this issue Jan 24, 2022 · 2 comments · Fixed by #76
Closed

Auto insert Java.perform when connecting to an Android application #74

yotamN opened this issue Jan 24, 2022 · 2 comments · Fixed by #76

Comments

@yotamN
Copy link
Member

yotamN commented Jan 24, 2022

I understand that you might not always want to attach a thread to the JVM with Frida so Java.perform is being used to make it explicit but in the repl it gets a bit tiresome to type it out each time I want to run something. Assuming there isn't a risk with doing automatically I suggest adding a feature that will wrap the repl prompt with Java.perform.

Of course it will be configurable with a command from the repl (%autoperform and %noautoperform I think) and can be off by default if it seems risky (in that case we should probably add a prompt to tell the user about this feature). What do you think @oleavr?

@forensicmike
Copy link
Contributor

i'm nobody but having written Java.perform a LOT i like this idea :)

@s1341
Copy link

s1341 commented Jan 24, 2022

I’m in favor. @yotamN care to submit a pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants