function hook_ssl() {
Java.perform(function () {
var base
=
Module.findBaseAddress(
"libflutter.so"
);
var ssl_crypto_x509_session_verify_cert_chain
base.add(
0x659AEA
console.log(
"找到函数偏移地址:"
,ssl_crypto_x509_session_verify_cert_chain)
Interceptor.attach(ssl_crypto_x509_session_verify_cert_chain, {
onEnter: function(args) {
"hook 开始!"
)
},
onLeave: function(retval) {
"返回值: "
+
retval);
retval.replace(
0x1
"解除ssl验证成功\n---------------------"
);}
});
}
)};
setTimeout(hook_ssl,
800
用该脚本可以找到到函数偏移地址 但是HOOK不到 有没有大神愿意帮忙看一眼
APP下载地址 https://clf110.lanzout.com/iQcWU1iigvoj
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课