Skip to content

Instantly share code, notes, and snippets.

@Fabi
Fabi / resign_the_shit_uwu.sh
Created March 30, 2025 16:26 — forked from Maple38/resign_the_shit_uwu.sh
Resign MacOS apps with com.apple.security.get-task-allow entitlement for dynamic analysis with IDA Pro's debugger or others
#!/bin/bash
# This script creates an entitlements file with com.apple.security.get-task-allow enabled
# and re-signs the specified binary using an ad hoc signature.
# Mostly written by chatgpt. It works though :)
# Usage: run it on an app idk it's pretty simple
if [ "$#" -ne 1 ]; then
echo "Usage: $0 /Path/To/YourBinary"
exit 1
@Fabi
Fabi / dbcache.cs
Created July 24, 2017 22:29
DBCache
var xfthFile = new XFTHFile
{
Header = new XFTHHeader
{
Signature = dbReader.ReadString(4),
Unknown = dbReader.ReadUInt32(),
Build = dbReader.ReadUInt32()
},
Entries = new List<XFTHEntry>()