首页
社区
课程
招聘
未解决 [求助]DVIA越狱绕过求助
发表于: 2020-9-4 18:15 1171

未解决 [求助]DVIA越狱绕过求助

2020-9-4 18:15
1171

背景,DVIA越狱检测绕过实验,运行hook脚本报错,Error: cannot read property 'implementation' of undefined,以下是实验过程详情,

找到的越狱检测类和函数

hook脚本代码

function bypassJailbreakDetection() {

try {

var className = "JailbreakDetectionVC";

        var funcName = "isJailbroken";

        var hook = eval('ObjC.classes.' + className + '["' + funcName + '"]');

        Interceptor.attach(hook.implementation, {

          onLeave: function(retval) {

            console.log("[*] Class Name: " + className);

            console.log("[*] Method Name: " + funcName);

            console.log("\t[-] Type of return value: " + typeof retval);

            console.log("\t[-] Original Return Value: " + retval);

            retval.replace(0x0);

            console.log("\t[-] Type of return value: " + typeof retval);

            console.log("\t[-] Return Value: " + retval);

          }

        });

        

} catch(err) {

console.log("[-] Error: " + err.message);

}

}


if (ObjC.available) {

bypassJailbreakDetection();

} else {

  send("error: Objective-C Runtime is not available!");

}

运行结果

环境

请叫是哪里问题呢,感激不尽


[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回
//