Skip to content

Instantly share code, notes, and snippets.

@Serhatcck
Created August 6, 2022 12:52
Show Gist options
  • Save Serhatcck/c335206f271960cb6428b34487277357 to your computer and use it in GitHub Desktop.
Save Serhatcck/c335206f271960cb6428b34487277357 to your computer and use it in GitHub Desktop.
Analyzing Android Encryption Processes with Frida
'use strict;'
Java.perform(() => {
const cipher = Java.use('javax.crypto.Cipher');
cipher.init.overload('int','java.security.Key').implementation = function(opmode,key) {
console.log("Opmode "+opmode);
console.log("Key "+key);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment