Skip to content

Instantly share code, notes, and snippets.

@Maple38
Maple38 / resign_the_shit_uwu.sh
Created March 3, 2025 11:22
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