Skip to content

Instantly share code, notes, and snippets.

View uriellberdeja's full-sized avatar
🏠
Working from home

Uriel Berdeja uriellberdeja

🏠
Working from home
View GitHub Profile
@uriellberdeja
uriellberdeja / frida-compile-jnitrace-engine-package.json
Created June 11, 2024 05:53
Configuration that supports usage of frida-compile along with jnitrace-engine
{
"name": "example",
"version": "1.0.0",
"description": "",
"scripts": {
"build": "frida-compile main.ts -o build.js -c"
},
"author": "",
"license": "ISC",
"devDependencies": {
@uriellberdeja
uriellberdeja / frida.js
Created June 11, 2024 05:49
Frida scrpt to hook al methods from a list of classes
Java.perform(()=> {
function getFridaTypeName(javaTypeName) {
const typeMap = {
'void': 'void',
'boolean': 'boolean',
'byte': 'byte',
'char': 'char',
'short': 'short',
'int': 'int',
'long': 'long',