Update README.md

This commit is contained in:
Iddo 2018-04-29 15:19:47 +03:00 committed by GitHub
parent fb0be2b99c
commit 70202e161f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,15 @@ TODOs:
- SQLite hook example (+Native)
`
Interceptor.attach(Module.findExportByName('libsqlite.so', 'sqlite3_prepare16_v2'), {
onEnter: function(args) {
console.log('DB: ' + Memory.readUtf16String(args[0]) + '\tSQL: ' + Memory.readUtf16String(args[1]));
}
});
`
* Hook example: `java.lang.reflect.Method#invoke(Object obj, Object... args, boolean bool)`