1
0

Upload files to "/"

This commit is contained in:
2025-06-13 01:06:53 +00:00
commit 5faf981da1
2 changed files with 112 additions and 0 deletions

18
frida.js Normal file
View File

@ -0,0 +1,18 @@
function main() {
const mainModule = Process.mainModule;
const baseAddress = mainModule.base;
console.log(`[*] Found main module "${mainModule.name}" at base: ${baseAddress}`);
const verificationFuncAddr = baseAddress.add(0x197f0);
console.log(`[*] Applying 'Total Replacement' to function at: ${verificationFuncAddr}`);
try {
Interceptor.replace(verificationFuncAddr, new NativeCallback(function() {
console.log(`\n[+] Total Replacement: Verification function at ${verificationFuncAddr} called.`);
console.log('[*] Total Replacement: Bypassing and returning 1 (true).');
return 1;
}, 'int', []));
console.log('[+] Total Replacement: Patch is active.');
} catch (e) {
console.log(`[!] Total Replacement: Error replacing function: ${e.message}`);
}
}
main();