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

19 lines (16 loc) 790 B
/************************************************************************ * Name: SSL Pinning Bypass for iOS 11 * OS: iOS * Author: @dki * Source: https://codeshare.frida.re/@dki/ios10-ssl-bypass/ *************************************************************************/ /* OSStatus nw_tls_create_peer_trust(tls_handshake_t hdsk, bool server, SecTrustRef *trustRef); */ var tls_helper_create_peer_trust = new NativeFunction( Module.getGlobalExportByName("nw_tls_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");