house
house copied to clipboard
Hook all methods with the given class.
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.
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.
I want to hook some variables in the class. Is it possible?
I don't know honestly, but Frida repo or IRC might be a good place to ask.
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.
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.
I don't think this works on a non root phone if we repack the apk with frida?