Upload files to "/"
This commit is contained in:
18
frida.js
Normal file
18
frida.js
Normal 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();
|
Reference in New Issue
Block a user