Skip to content

Instantly share code, notes, and snippets.

View ndrong's full-sized avatar

Noam Drong ndrong

View GitHub Profile
@ndrong
ndrong / frida_widm_hashing_hooks.js
Created January 2, 2021 00:54
Frida snippet used to hook hashing methods
Java.perform(function() {
const target = Java.use('nl.avro.demol.base.extensions.StringKt');
target.calculateHmac.implementation = function() {
const args = JSON.stringify(arguments, null, 2);
const retVal = target.calculateHmac.apply(this, arguments);
console.log('[!] calculateHmac called!');
console.log('Arguments:', args);

Keybase proof

I hereby claim:

  • I am ndrong on github.
  • I am ndrong (https://keybase.io/ndrong) on keybase.
  • I have a public key ASDKKGzsD3sWUgt0yuZ5htymVF28PmTa3Nwtgt_WoGshAwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ndrong on github.
  • I am ndrong (https://keybase.io/ndrong) on keybase.
  • I have a public key ASAgQk9jpgO1ozoCIcGKiR7JvpFCuG71xJ7xIV5_cn7WRQo

To claim this, I am signing this object: