scripts
This commit is contained in:
3
new_captcha_user.sh
Executable file
3
new_captcha_user.sh
Executable 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
1
stats.psql
Normal 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;
|
||||||
Reference in New Issue
Block a user