ios file access watch

This commit is contained in:
iddoeldor 2018-06-24 12:09:20 +03:00 committed by GitHub
parent 9e9bb403b4
commit 57172d61e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@
- [Find iOS application UUID](#find-ios-application-uuid)
- [Execute shell command](https://github.com/iddoeldor/frida-snippets/blob/master/scripts/exec_shell_cmd.py)
- [Observe iOS class](#observe-ios-class)
- [File access](#file-access)
- [Webview URLS](#webview-urls)
- [TODO list](#todos)
@ -271,6 +272,16 @@ Observing Someclass$innerClass - empty
RET: 0xabcdef
```
#### File Access
iOS file access
```
Interceptor.attach(ObjC.classes.NSFileManager['- fileExistsAtPath:'].implementation, {
onEnter: function (args) {
console.log('open' , ObjC.Object(args[2]).toString());
}
});
```
#### Webview URLS
```
Java.use("android.webkit.WebView").loadUrl.overload("java.lang.String").implementation = function (s) {