Created
August 6, 2022 12:56
-
-
Save Serhatcck/83ed8d28693c6d5e6591c96274a00494 to your computer and use it in GitHub Desktop.
Analyzing Android Encryption Processes with Frida
This file contains 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
'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); | |
this.init.overload('int', 'java.security.Key').call(this, opmode, key); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment