Skip to content

Instantly share code, notes, and snippets.

@dkasak
Created March 4, 2020 13:59
Show Gist options
  • Save dkasak/7315f84d3d1098c9409acefa696302d3 to your computer and use it in GitHub Desktop.
Save dkasak/7315f84d3d1098c9409acefa696302d3 to your computer and use it in GitHub Desktop.
setTimeout(function() {
Java.perform(function() {
var TrustManagerImpl = Java.use('com.android.org.conscrypt.TrustManagerImpl');
TrustManagerImpl.verifyChain.implementation = function(untrustedChain,
trustAnchorChain, host, clientAuth, ocspData, tlsSctData) {
return untrustedChain;
}
});
}, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment