17 lines
768 B
YAML
17 lines
768 B
YAML
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
|