Objection
Update
pip3 install -U objectionPatching an APK
objection patchapk --source app-release.apkYou might need to use the flag --skip-resources if there is an error while rebuilding the APK.
Explore APK
First you will need to start the Frida server (either you patched the APK to run Frida when starting or you previously started the Frida's server).
objection -g com.package.package exploreDisable SSL Pinning
android sslpinning disableEarly Instrumentation
objection explore --startup-command 'android sslpinning disable'
objection explore --startup-script ssl-pinning.jsList activities
android hooking list activities com.package.packageList classes
android hooking list classesSimple hooks for each Class method
android hooking generate simple <class name>Launch Activity
android intent launch_activity com.package.package.class.NameActivityHook return_value
android hooking set return_value com.package.package.paywall.PayWallStorageImpl.retrievePayWallIsOp
en trueMaking a patch permanent
objection patchapk -s UnCrackable-Level1.apk -c gadget -l root.js{
"interaction": {
"type": "script",
"path": "libfrida-gadget.script.so"
}
}Java.perform(function() {
var c = Java.use("sg.vantagepoint.a.c");
c.a.implementation = function(v) { return false; }
c.b.implementation = function(v) { return false; }
c.c.implementation = function(v) { return false; }
})Last updated
Was this helpful?