Skip to content

Instantly share code, notes, and snippets.

@Serhatcck
Created August 6, 2022 13:14
Show Gist options
  • Save Serhatcck/ece3b7d62ae7df6e968e56aad65f49d6 to your computer and use it in GitHub Desktop.
Save Serhatcck/ece3b7d62ae7df6e968e56aad65f49d6 to your computer and use it in GitHub Desktop.
Analyzing Android Encryption Processes with Frida
Java.perform(function(){
var cipher = Java.use("javax.crypto.Cipher")
cipher.init.overload('int', 'java.security.Key', 'java.security.spec.AlgorithmParameterSpec').implementation = function(opmode,key,ivkey){
this.init.overload('int', 'java.security.Key', 'java.security.spec.AlgorithmParameterSpec').call(this, opmode,key,ivkey)
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment