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

2 lines
652 B
Bash

for p in /users/CREATE /Users/Create /USERS/CREATE; do echo "termix $p -> $(curl -sk -o /tmp/tx -w %{http_code} -H "Host: r-termix.enkisfelhom.hu" -H "Content-Type: application/json" -X POST -d "{\"username\":\"trkx$RANDOM\",\"password\":\"Xx12345678z9\"}" https://127.0.0.1$p) $(head -c 80 /tmp/tx)"; done; for p in /api/auth/SIGNUP /API/AUTH/SIGNUP; do echo "calcom $p -> $(curl -sk -o /tmp/tx -w %{http_code} -H "Host: r-calcom.enkisfelhom.hu" -H "Content-Type: application/json" -X POST -d "{\"username\":\"trky$RANDOM\",\"email\":\"y$RANDOM@x.hu\",\"password\":\"Xx12345678z9!A\"}" https://127.0.0.1$p) $(head -c 80 /tmp/tx)"; done; rm -f /tmp/tx