sslpinningmine

by
4 views 240c64b8...

Description

pin ssl

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 sslpinningmine.js

Replace YOUR_PACKAGE_NAME with the target app's package name.

Source Code

JavaScript
setTimeout(function() {
    Java.perform(function() {
       
    var array_list = Java.use("java.util.ArrayList");
    var ApiClient = Java.use('com.android.org.conscrypt.TrustManagerImpl');

    ApiClient.checkTrustedRecursive.implementation = function(a1, a2, a3, a4, a5, a6) {
        // console.log('Bypassing SSL Pinning');
        var k = array_list.$new();
        return k;
    }
        var CommonUtils = Java.use('l.a.a.a.o.b.i');
        CommonUtils.i.overload('android.content.Context').implementation = function(context) {
            console.log("[+] bypassRootDetection");
            return false;
        }
    });
}, 0);
Share this script:
Twitter LinkedIn

Comments

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