SMALL
1
2
3
4
5
6
7
8
9
10
11
12
|
Interceptor.attach(ObjC.classes.NSString['+ stringWithUTF8String:'].implementation, {
onEnter: function (args) {
console.log('[+] Hooked +[NSString stringWithUTF8String:] ');
},
onLeave: function (retval) {
var str = new ObjC.Object(ptr(retval)).toString()
console.log("\nBacktrace:\n" + Thread.backtrace(this.context, Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join("\n"));
console.log('[+] Returning [NSString stringWithUTF8String:] -> ', str);
return retval;
}
});
|
cs |
LIST
'reversing > reversing' 카테고리의 다른 글
frida -memo (0) | 2021.06.22 |
---|---|
frida-ios class, method monitoring (0) | 2021.06.21 |
ios - ssl pinning 우회 (0) | 2021.06.16 |
ios - usb to ssh (0) | 2021.06.16 |
ARM hooking 정리 (0) | 2021.03.30 |