github

https://frida.re/docs/functions/ 官方教程

可能是这个?

https://www.ol4three.com/2021/01/05/Android/frida/Frida-Android%E9%80%86%E5%90%91%E4%B9%8B%E5%8A%A8%E6%80%81%E5%8A%A0%E8%BD%BDdex-Hook-%E4%B8%8A/

frida byteArray Dump

npm install @types/frida-gum
Java.perform(() => {
  const Cipher = Java.use('javax.crypto.Cipher');
  const Exception = Java.use('java.lang.Exception');
  const Log = Java.use('android.util.Log');
 
  const init = Cipher.init.overload('int', 'java.security.Key');
  init.implementation = function (opmode, key) {
    const result = init.call(this, opmode, key);
 
    console.log('Cipher.init() opmode:', opmode, 'key:', key);
    console.log(stackTraceHere());
 
    return result;
  };
 
  function stackTraceHere() {
    return Log.getStackTraceString(Exception.$new());
  }
});