Files
felhom.eu/documentation/audits/signup-lock-2026-09-29/B/direct2.sh
T

3 lines
638 B
Bash

docker exec felhom-controller sh -c 'curl -s http://gitea:3000/user/sign_up | grep -oiE "registration is disabled[^<]{0,40}|name=\"user_name\"" | sort -u; echo; curl -s -X POST -H "Content-Type: application/json" -d "{\"username\":\"strngr2\",\"email\":\"s2@x.hu\",\"password\":\"Xx12345678z!A\"}" http://calcom:3000/api/auth/signup | head -c 150; echo; curl -s -X POST -H "Content-Type: application/json" -d "{\"email\":\"s2@x.hu\",\"password\":\"Xx12345678z\",\"full_name\":\"S\"}" http://gramps-web:5000/api/users/strngr2/register/ | head -c 150; echo'
docker exec gitea sh -c 'grep -n "DISABLE_REGISTRATION" /data/gitea/conf/app.ini'