From 1796b41d1b95f167aa7080968e0fca3a60d9df65 Mon Sep 17 00:00:00 2001 From: chkgp9q90qi Date: Thu, 29 Oct 2026 01:49:39 +0000 Subject: [PATCH] abusers --- .gitea/workflows/abusers.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitea/workflows/abusers.yml diff --git a/.gitea/workflows/abusers.yml b/.gitea/workflows/abusers.yml new file mode 100644 index 0000000..c2ab36b --- /dev/null +++ b/.gitea/workflows/abusers.yml @@ -0,0 +1,15 @@ +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