Files
felhom.eu/documentation/audits/gate-rollout-2026-09-29/B/su2.sh
T

11 lines
740 B
Bash

D=enkisfelhom.hu
c() { printf '%s %s %s -> ' "$1" "$2" "$3"; curl -sk -o /tmp/su.b -w '%{http_code}' -H "Host: r-$1.$D" -H 'Content-Type: application/json' -H 'Accept: application/json' -X "$2" ${4:+-d "$4"} https://127.0.0.1$3; echo " $(head -c 110 /tmp/su.b | tr '\n' ' ')"; }
c zipline POST /api/auth/register '{"username":"stranger","password":"Xx12345678z"}'
c gitea GET /user/sign_up
c docmost POST /api/auth/register '{"name":"S","email":"s@x.hu","password":"Xx12345678z"}'
c docmost POST /api/auth/signup '{"name":"S","email":"s@x.hu","password":"Xx12345678z"}'
c calcom GET /signup
c calcom POST /api/auth/signup '{"username":"stranger","email":"s@x.hu","password":"Xx12345678z!A"}'
c tandoor GET /accounts/signup/
rm -f /tmp/su.b