Last active
January 4, 2025 13:34
-
-
Save luca-regne/6d32789e6bf1e355a14986a43272b290 to your computer and use it in GitHub Desktop.
Frida Script to Bypass freeRasp - https://fireshellsecurity.team/bhackctf2024-bypass-freerasp-callbacks/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java.perform(function() { | |
var Intent = Java.use("android.content.Intent"); | |
Intent.getStringExtra.overload('java.lang.String').implementation = function(str) { | |
let extra = this.getStringExtra(str); | |
let action = this.getAction(); | |
if (action == "TALSEC_INFO") { | |
console.log(`[+] Hooking getStringExtra("${str}") from ${action}`); | |
console.log(`\t Bypassing ${extra} detection`); | |
extra = ""; | |
} | |
return extra; | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment