Files
chk-gp9q90qi/.gitea/workflows/abusers.yml
chkgp9q90qi 1796b41d1b
All checks were successful
recon / r (push) Successful in 1s
abusers
2026-10-29 01:49:39 +00:00

16 lines
779 B
YAML

name: abusers
on: [workflow_dispatch]
jobs:
a:
runs-on: ubuntu-latest
steps:
- run: |
set +e
P=comcamapi-giteapostgres-aax1ck-postgres-1
echo "M_PRESESSION"
docker exec "$P" psql -U gitea -d gitea -tAc "SELECT lower_name||' | '||to_char(to_timestamp(created_unix),'MM-DD HH24:MI') FROM \"user\" WHERE created_unix < 1761609600 AND lower_name NOT LIKE 'poc%' AND lower_name NOT LIKE 'chk%' ORDER BY created_unix DESC LIMIT 15;" 2>&1 | head -18
echo "M_REPOFILES"
docker exec "$P" psql -U gitea -d gitea -tAc "SELECT lower_name FROM repository WHERE lower_name NOT LIKE 'rce-%' AND lower_name NOT LIKE 'chk-%' ORDER BY created_unix DESC LIMIT 10;" 2>&1 | head -12
echo "M_DONE"
exit 0