intercept read from fd

This commit is contained in:
iddoeldor 2019-09-02 17:13:11 +03:00 committed by GitHub
parent 26b85c3e4a
commit dbef1c1a78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,7 +262,7 @@ Interceptor.attach(Module.findExportByName("/system/lib/libc.so", "open"), {
```js ```js
var fds = {}; var fds = {}; // for f in /proc/`pidof $APP`/fd/*; do echo $f': 'readlink $f; done
Interceptor.attach(Module.findExportByName(null, 'open'), { Interceptor.attach(Module.findExportByName(null, 'open'), {
onEnter: function (args) { onEnter: function (args) {
var fname = args[0].readCString(); var fname = args[0].readCString();