Android iOS freeRASP Bypass

by
4 views 0ee7749f...

Description

Bypass for jailbreak/root detection of the freeRASP library. Works on Android and iOS. Based on the work of https://github.com/rodolfomarianocy

How to Use

Download the script and run it with Frida CLI:

Download Script

Then run with Frida:

frida -U -f YOUR_PACKAGE_NAME -l android-ios-freerasp-bypass.js

Replace YOUR_PACKAGE_NAME with the target app's package name.

Source Code

JavaScript
/*
    Android/iOS freeRASP Bypass by DevTraleski (Based on rodolfomarianocy/ios-freerasp-react-native-bypass )
    frida -U -f <bundle_identifier> --codeshare DevTraleski/android-ios-freerasp-bypass
    https://github.com/rodolfomarianocy/iOS-freeRASP-React-Native-Bypass
    https://github.com/rodolfomarianocy/Tricks-Pentest-Android-and-iOS-Applications
*/
//In case of class not found, use JADX to find the path
console.warn("[+] Android/iOS freeRASP React Native Bypass...")
if (ObjC.available) {
    try {
        Interceptor.replace(
            ObjC.classes.FreeraspReactNative['- talsecStart:withResolver:withRejecter:'].implementation,
            new NativeCallback(function() {}, 'void', [])
        );
    } catch (error) {
        console.log(error.message);
    }
} else if (Java.available) {
    Java.perform(function() {
        try {
            Interceptor.replace(
                Java.use("com.freerasp.FreeraspNativeModule").talsecStart.implementation,
                new NativeCallback(function() {}, 'void', [])
            );
        } catch (error) {
            console.log(error.message);
        }
    });
} else {
    console.log("[-] ObjC/Java Runtime unavailable");
}
Share this script:
Twitter LinkedIn

Comments

Login or Sign up to leave a comment.
Loading comments...