murder-meta-bypass

by
4 views 0e62d9ca...

Description

Simple script to bypass Instagram SSL Pinning, have fun.

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 murder-meta-bypass.js

Replace YOUR_PACKAGE_NAME with the target app's package name.

Source Code

JavaScript
// https://github.com/logosred/murder-meta-bypass
// Simple script to bypass SSL pinning in Instagram.
Java.perform(function() {
    console.log("--- Murder Meta Bypass Loaded ---");
    console.log("--- Targeting the core 'verify' method ---");

    try {
        const CertificateVerifier = Java.use("com.facebook.mobilenetwork.internal.certificateverifier.CertificateVerifier");

        CertificateVerifier.verify.overload(
            '[Ljava.security.cert.X509Certificate;',
            'java.lang.String',
            'boolean'
        ).implementation = function(certChain, hostname, someBoolean) {
            console.log(`[+] Bypassed CertificateVerifier.verify(certChain, "${hostname}", ${someBoolean}). Certificate chain is now trusted.`);
            return;
        };

        console.log("[+] Hook on CertificateVerifier.verify with correct signature is active.");

    } catch (e) {
        console.error("[-] Failed to hook CertificateVerifier.verify(). Error:");
        console.error(e);
    }
});
Share this script:
Twitter LinkedIn

Comments

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