var str = new ObjC.Object(ptr(args[2]));
console.log(’[*] str:] ->’ , str);
打印出来是这样的
[*] str:] → <SnsTimeLineRequest: 0x282195170>
怎么打印出他的对象结构和内容哇。。。
var str = new ObjC.Object(ptr(args[2]));
console.log(’[*] str:] ->’ , str);
打印出来是这样的
[*] str:] → <SnsTimeLineRequest: 0x282195170>
怎么打印出他的对象结构和内容哇。。。
var obj = new ObjC.Object(ptr(args[2]));
console.log(obj['- _ivarDescription]().toString());
frida打印所有参数呢?
function print_arguments(args) {
var n = 15;
var last_arg = ‘’;
for (var i = 2; i < n; ++i) {
var arg = (new ObjC.Object(args[i])).toString();
if (arg == ‘nil’ || arg == last_arg) {
break;
}
last_arg = arg;
console.log(’\t[-] arg’ + i + ': ’ + (new ObjC.Object(args[i])).toString());
}
}
我这么打印总是报错
Process terminated