Skip to content

Instantly share code, notes, and snippets.

View jcalabres's full-sized avatar

Joan Calabrés jcalabres

View GitHub Profile
@jcalabres
jcalabres / crypto_pinning.js
Last active August 29, 2023 20:16
Pinning Bypass + Crypto Hooks
Java.deoptimizeEverything()
Java.perform(function () {
hookCrypto()
enable_cert_unpinning()
});
var printBacktrace = function () {
Java.perform(function() {
var JLog = Java.use('android.util.Log'), JException = Java.use('java.lang.Exception');
@jcalabres
jcalabres / jni_all.h
Last active February 1, 2024 00:16 — forked from Jinmo/jni_all.h
JNI types for IDA Pro/Ghidra
/*
* Copyright (c) 1996, 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*