Last active
April 11, 2026 13:33
-
-
Save luca-regne/6d32789e6bf1e355a14986a43272b290 to your computer and use it in GitHub Desktop.
Frida Script to Bypass freeRasp
This file contains hidden or 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
| /* | |
| frida -U -f package.name --codeshare luca-regne/android-freerasp-bypass --no-pause | |
| Android freeRASP Bypass by regne | |
| https://fireshellsecurity.team/bhackctf2024-bypass-freerasp-callbacks/ | |
| */ | |
| 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