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
[注意]APP应用上架合规检测服务,协助应用顺利上架!