diff --git a/README.md b/README.md index 8255ae2..d40bd6c 100644 --- a/README.md +++ b/README.md @@ -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) {