Created
          August 24, 2020 21:56 
        
      - 
      
- 
        Save andreroggeri/0926ff56c867e6826f250d559e8709c9 to your computer and use it in GitHub Desktop. 
    Frida simple bypass cert pinning
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Java.perform(function () { | |
| const ArrayList = Java.use("java.util.ArrayList"); | |
| const TrustManager = Java.use("com.android.org.conscrypt.TrustManagerImpl"); | |
| TrustManager.checkTrustedRecursive.implementation = function () { | |
| console.log("Bypassing Cert Pinning"); | |
| return ArrayList.$new(); | |
| } | |
| }, 0); | |
| // frida -U -f com.nu.production -l .\frida.js --no-pause | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment