antojoseph / frida-android-hooks Goto Github PK
View Code? Open in Web Editor NEWLets you hook Method Calls in Frida ( Android )
Lets you hook Method Calls in Frida ( Android )
Dalvik.perform?
Frida 的api不是只有Java.perform么 ?
do this:
var s = Java.use('java.lang.String');
var ss2 = s.$new('str');
ss2.$dispose();
get the error info:
{u'columnNumber': 1, u'description': u'Error: Not allowed outside Java.perform() callback', u'fileName': u'frida/node_modules/frida-java/index.js', u'lineNumber': 79, u'type': u'error', u'stack': u'Error: Not allowed outside Java.perform() callback\n at d (frida/node_modules/frida-java/index.js:79)\n at frida/node_modules/frida-java/index.js:355\n at script2.js:29\n at call (native)\n at c (input:1)'}
Java.perform(function () {
var Activity = Java.use("android.app.Activity");
var Exception = Java.use("java.lang.Exception"); //ok
Activity.onResume.implementation = function () {
var Exception = Java.use("java.lang.Exception"); //error outside java.perform()
throw Exception.$new("Oh noes!");
};
});
When I tried to run command python hook_webview_frida_example.py I meet this error on both python version 2 and version 3:
File "hook_webview_frida_example.py", line 37
script.on('message',get_messages_from_js)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.