UNPKG

rms-runtime-mobile-security

Version:

Runtime Mobile Security (RMS), powered by FRIDA, is a powerful web interface that helps you to manipulate Android and iOS Apps at Runtime

18 lines (15 loc) 696 B
/************************************************************************ * Name: SSL Pinning Bypass for iOS 10 * OS: iOS * Author: @dki * Source: https://codeshare.frida.re/@dki/ios10-ssl-bypass/ *************************************************************************/ var tls_helper_create_peer_trust = new NativeFunction( Module.findExportByName(null, "tls_helper_create_peer_trust"), 'int', ['pointer', 'bool', 'pointer'] ); var errSecSuccess = 0; Interceptor.replace(tls_helper_create_peer_trust, new NativeCallback(function(hdsk, server, trustRef) { return errSecSuccess; }, 'int', ['pointer', 'bool', 'pointer'])); send("SSL certificate validation bypass active");