Security lab
Blind SQLi - Boolean-Based
A product lookup concatenates input into SQL but only reveals found vs not-found. Use boolean conditions to extract the hidden admin secret.
Lab objective
Use boolean-based blind SQL injection on GET /product?id= to extract the admin secret character by character.
Tools you will use
- browser
- Burp Suite
- curl
What this lab teaches
This lab is a self-contained exercise hosted in an isolated, per-user sandbox. You are given a clear objective, the tools typically used for the technique, and a guided set of hints. Because every sandbox is disposable and network-isolated, you can experiment freely, make mistakes, and reset the environment without affecting any real system.
Hints & approach
- 01Calibrate the oracle: ?id=1 AND 1=1 gives Product found, ?id=1 AND 1=2 gives Product not found.
- 02Test secret extraction with ?id=1 AND substr(secret,1,1)='F' and watch the true/false flip.
- 03Iterate positions (substr(secret,2,1), substr(secret,3,1), ...) to recover the full flag.
How the sandbox works
When you start the lab, Vulnarex provisions an isolated, per-user environment and opens it in a new tab. Each session has its own target and state, so nothing you do here can affect another learner or any external system. You can reset the environment at any time and re-approach the challenge from a clean slate.