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

Hook all methods with the given class. #8

Open
theblackturtle opened this issue Jul 26, 2018 · 6 comments
Open

Hook all methods with the given class. #8

theblackturtle opened this issue Jul 26, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@theblackturtle
Copy link

theblackturtle commented Jul 26, 2018

Hi, how I can hook all methods with the given class.
And how I can enum if a class have multiple methods with same name but different type a() ; a(android.content.Context); a(java.lang.String,boolean)
Thanks.

@H4oK3
Copy link
Contributor

H4oK3 commented Jul 26, 2018

Hey unfortunately House does not support hook all methods with given class for now; but this would def be a cool feature;

For your second question; House enum and hook func will return all overloaded function under a class, I am not sure what are you trying to achieve; if you want to intercept a specific one, you can try inspect under intercept tab, and type the classname & method name, house will return a dropdown list of all overloaded ones and you can pick the target one.

Hope that answers your question.

@theblackturtle
Copy link
Author

I want to hook some variables in the class. Is it possible?

@H4oK3
Copy link
Contributor

H4oK3 commented Jul 26, 2018

I don't know honestly, but Frida repo or IRC might be a good place to ask.

@H4oK3 H4oK3 added the enhancement New feature or request label Jul 27, 2018
@theblackturtle
Copy link
Author

And can you add function can re-execute a class or method with n times. It's is nice because some app have encrypt or generation dynamic data, we can execute it n times to get the return data.

@H4oK3
Copy link
Contributor

H4oK3 commented Jul 29, 2018

Hey, that is totally customizable; House is a tool that generate a base frida script for you; but I would not add features for specific cases such as this one; you can use the script House already generated and add an counter loop; should be just couple lines of javascript; there is no point for me to add a special feature for that.

@imdadvs
Copy link

imdadvs commented Oct 10, 2018

I don't think this works on a non root phone if we repack the apk with frida?

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

No branches or pull requests

3 participants