-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
function hookart() {
if (ishook_libart === true) {
return;
}
var module_libext = null;
if (Process.arch === "arm64") {
module_libext = Module.load("/data/app/fart64.so");
} else if (Process.arch === "arm") {
module_libext = Module.load("/data/app/fart.so");
}
if (module_libext != null) {
addrGetCodeItemLength = module_libext.base.add(0x18840+1);
// addrGetCodeItemLength = module_libext.getExportByName("GetCodeItemLength");
funcGetCodeItemLength = new NativeFunction(addrGetCodeItemLength, "int", ["pointer"]);
// addrBase64_encode = module_libext.findExportByName("Base64_encode");
addrBase64_encode = module_libext.base.add(0x10654+1);
funcBase64_encode = new NativeFunction(addrBase64_encode, "pointer", ["pointer", "int", "pointer"]);
// addrFreeptr = module_libext.findExportByName("Freeptr");
addrFreeptr = module_libext.base.add(0x11F88+1);
funcFreeptr = new NativeFunction(addrFreeptr, "void", ["pointer"]);
}
改一下就可以
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels