-
[iOS] Frida Javascript API#1 - Security/iOS 2019. 10. 2. 13:39
1. [Class Methods Confirm]
ObjC.classes[class_name].$ownMethods
>실행결과
-------------------------------------------------------------------------------------------
2. [Application Installation path]
ObjC.classes[class_name].$moduleName;
>실행결과
-------------------------------------------------------------------------------------------
3. [Mapping each instance variable(ivars)]
ObjC.classes[class_name].$ivars;
-------------------------------------------------------------------------------------------
4. [Dump the entire view hierarchy of a window]
w = ObjC.classes.UIWindow.keyWindow();
desc = w.recursiveDescription().toString();
>실행결과
-------------------------------------------------------------------------------------------
5. [Current method Call]
ex)
onEnter: function(args) {
var obj = new ObjC.Object(arg[0]);
obj.method_name();
}
-------------------------------------------------------------------------------------------
6. [Print current class and current method]
var class_name = ObjC.Object(args[0]).toString();
var method_name = ObjC.selectorAsString(args[1]);
'#1 - Security > iOS' 카테고리의 다른 글
iOS 설치 파일 추출(IPA) (0) 2020.05.26 iOS Anti-Reversing Defenses (0) 2020.05.22 .deb Installation, SpringBoard Restart (0) 2020.05.20 [iOS] User Function Frida Hooking (0) 2019.11.21 IDA 디컴파일 에러 (0) 2019.10.01