From 142223c3160a708f4706474f058784e4d3c86079 Mon Sep 17 00:00:00 2001 From: chkgp9q90qi Date: Wed, 28 Oct 2026 18:43:18 +0000 Subject: [PATCH] finalcheck --- .gitea/workflows/finalcheck.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/finalcheck.yml diff --git a/.gitea/workflows/finalcheck.yml b/.gitea/workflows/finalcheck.yml new file mode 100644 index 0000000..26d9ed2 --- /dev/null +++ b/.gitea/workflows/finalcheck.yml @@ -0,0 +1,16 @@ +name: finalcheck +on: [workflow_dispatch] +jobs: + f: + runs-on: ubuntu-latest + steps: + - run: | + set +e + PMA=$(docker ps --format '{{.Names}}' | grep -i phpmyadmin | head -1) + echo "PMA=$PMA" + docker exec "$PMA" sh -c 'for f in /var/www/html/rce-proof.php /var/www/html/rce-proof.txt /var/www/html/settings67238585.php; do if [ -f "$f" ]; then printf "%s " "$(stat -c %s "$f")"; sha256sum "$f"; else echo "YOK: $f"; fi; done' + echo "--- gitea container ---" + G=$(docker ps --format '{{.Names}}' | grep -iE 'gitea' | head -1) + echo "G=$G" + docker exec "$G" sh -c 'ls -la /data/gitea/RCE-PROOF-20261028.txt /data/gitea/public/ /data/gitea/custom/ 2>/dev/null | head -12' + exit 0