Skip to content

Instantly share code, notes, and snippets.

@Eltion
Eltion / Universal-SSL-Pinning-Bypass.js
Last active June 14, 2023 16:13
Bypass SSL Pinning on Android
Java.perform(function () {
try {
var array_list = Java.use("java.util.ArrayList");
var ApiClient = Java.use('com.android.org.conscrypt.TrustManagerImpl');
if (ApiClient.checkTrustedRecursive) {
console.log("[*][+] Hooked checkTrustedRecursive")
ApiClient.checkTrustedRecursive.implementation = function (a1, a2, a3, a4, a5, a6) {
var k = array_list.$new();
return k;
}