Using Java.choose on android.widget.EditText does not always find the current instances.
Java.perform(function () {
// Works with android.widget.TextView| /* | |
| * Modified from: https://codeshare.frida.re/@dki/ios-url-scheme-fuzzing/ | |
| * | |
| * iOS URL Scheme Fuzzing | |
| * Usage: frida -U --codeshare dki/ios-url-scheme-fuzzing SpringBoard | |
| * | |
| * Open the specified URL | |
| * openURL("somescheme://test"); | |
| * | |
| * Fuzz a particular URL - use {0} as placeholder for insertion points |
| Interceptor.attach(ObjC.classes.AppDelegate['- application:continueUserActivity:restorationHandler:'].implementation, { | |
| onEnter: function (args) { | |
| printHeader(args) | |
| this.application = ObjC.Object(args[2]); | |
| this.continueUserActivity = ObjC.Object(args[3]); | |
| this.restorationHandler = ObjC.Object(args[4]); | |
| console.log("application: " + this.application); |