Closed gergesh closed 4 years ago
Epic! Thanks so much, I'll test this asap. Did you have any thoughts on porting this over for iOS as well maybe?
I don't have an iOS device to test this against but the implementation is very short, porting shouldn't take more than a couple of minutes.
Did you get a chance to test this?
Not yet, but chances are pretty good I'll get to this this week!
If anyone wants to use it:
objection patchapk -s app.apk -c gadget -l script.js
Content of gadget:
{
"interaction": {
"type": "script",
"path": "libfrida-gadget.script.so"
}
}
@leonjza maybe this could be added to the wiki ?
Absolutely! Need to create a ticket so that I don't forget 😊
This adds two options to the apk patcher:
These can be used together to allow configring the gadget to load an included script instead of listening for connections, which could be useful for patching applications permanently without writing smali.