Skip to content

Instantly share code, notes, and snippets.

View ceres-c's full-sized avatar

Federico Cerutti ceres-c

View GitHub Profile
@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.
*
@elevenchars
elevenchars / fridanotes.md
Last active March 14, 2024 15:12
My notes on injecting a frida gadget into an apk
@bosb
bosb / ISO15693_with_CR95HF.py
Last active January 4, 2019 22:41
Step through all possible modulations/configurations for ISO/IEC 15693 with CR95HF-VMD5T from STMicroelectronics discovery kit M24LR-DISCOVERY used command: Inventory
#!/usr/local/bin/python
# Author: Thorsten Bosbach 09/2018
# Step through all possible modulations/configurations for ISO/IEC 15693 with CR95HF-VMD5T from STMicroelectronics discovery kit M24LR-DISCOVERY
# Used command: Inventory
# Never forget, to read after every write, else strange looking results ;-) !
import hid
import time
import sys
@Mnkai
Mnkai / undervolt-sleep.service
Last active August 30, 2018 16:09
Example undervolt script for i7-8550U processor, Dell XPS 13 9360
[Unit]
Description=Undervolting preset resume after sleep
After=suspend.target
[Service]
Type=oneshot
ExecStart=/bin/bash /opt/undervolt_check_and_apply.sh
[Install]
WantedBy=suspend.target
@Jinmo
Jinmo / jni_all.h
Created May 26, 2017 07:36
Useful when reversing JNI on IDA Pro
/*
* 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.
*