Lab Environment Setup
Target: OWASP Juice Shop running at http://localhost:3000
Prerequisites:
- Docker running
- Juice Shop container active
- curl CLI available
Start Lab:
docker ps | grep juice-shop
# Should show running container on port 3000
Part 1: Reconnaissance
1.1 Identify Login Endpoint
curl -s "http://localhost:3000/rest/user/login" -X POST \
-H "Content-Type: application/json" \
-d '{"email":"test@example.com","password":"test"}' \
| head -20
Expected Response:
Invalid email or password.
This confirms the endpoint exists and validates credentials.
1.2 Test for SQL Injection (Boolean-based)
Payload 1 - Always False: