RootBeerNative-universal-Bypass

by
4 views f114773e...

Description

ByPass universal Root detection RootBeer for hooking with frida

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 rootbeernative-universal-bypass.js

Replace YOUR_PACKAGE_NAME with the target app's package name.

Source Code

JavaScript

Java.perform(function() {
    var rootBeerNative = Java.use("com.scottyab.rootbeer.RootBeerNative");
    rootBeerNative.checkForRoot.implementation = function(objArr) {
        return 0
    }
})

// adb shell pm list package -3 ==> find third party app(app.name) for hook
// frida -U -l .\RootBeerNative-universal-Bypass.js -f app.name
Share this script:
Twitter LinkedIn

Comments

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