Java.perform(function () {
var str = Java.use("java.lang.String");
str.equals.overload("java.lang.Object").implementation = function (v) {
console.log("[*] equals() got called!");
};
});
I get the following error:
$ frida -U -l test.js --no-pause -f owasp.mstg.uncrackable1
____
/ _ | Frida 12.6.16 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at http://www.frida.re/docs/home/
Spawned `owasp.mstg.uncrackable1`. Resuming main thread!
[Google Pixel XL::owasp.mstg.uncrackable1]-> Error: access violation accessing 0x10
at frida/runtime/core.js:144
at replaceArtImplementation (frida/node_modules/frida-java-bridge/lib/class-factory.js:838)
at /repl1.js:5
at frida/node_modules/frida-java-bridge/lib/vm.js:11
at E (frida/node_modules/frida-java-bridge/index.js:346)
at frida/node_modules/frida-java-bridge/index.js:334
at input:1
When running the below script:
I get the following error:
I use Android 8.1.0 Frida: 12.6.16