App Context bypass

by
4 views 410e9e86...

Description

Code to enable Web View debugging in Hybrid apps. Buy me a coffee: https://www.buymeacoffee.com/raphaelQ

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 app-context-bypass.js

Replace YOUR_PACKAGE_NAME with the target app's package name.

Source Code

JavaScript
if (Java.available) {
    Java.perform(function() {
        Java.scheduleOnMainThread(function() {
            var WebView = Java.use("android.webkit.WebView");
            WebView.setWebContentsDebuggingEnabled(true);
            console.log(WebView);
            console.log("[+] WebView debug enabled successfully!");
        });
    });
}
Share this script:
Twitter LinkedIn

Comments

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