This commit is contained in:
leca 2025-05-01 17:34:28 +03:00
parent e6d14f48bd
commit 3d5fa825c4
2 changed files with 4 additions and 0 deletions

3
new_captcha_user.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
curl -X POST https://captcha.foxarmy.org/api/user/register -H 'Content-Type: application/json' -H "Authorization: Bearer $1" --data-raw "{\"username\":\"$2\", \"password\":\"$3\"}"

1
stats.psql Normal file
View File

@ -0,0 +1 @@
select users.id, username, (select count(*) from captchas where submitter = users.id) AS amount_solved from users JOIN captchas on submitter = users.id GROUP BY users.id ORDER BY amount_solved DESC;