Everything from Tuesday in one place: get the lab running, understand the two bugs, learn to hunt them yourself, and practise before Thursday. Work through it tonight and you'll walk into the challenge ready.
Three pieces: Docker runs the target, Juice Shop is the target, Burp lets you read and change requests. Do this once and it's ready forever.
Get Docker Desktop (Mac and Windows), open it once, wait for the whale icon, then:
docker --version # any version is fine
docker run --rm -p 3000:3000 bkimminich/juice-shop
# open http://localhost:3000
Install Burp Suite Community (free). Use its built-in browser, and browse to the lab through localtest.me so the traffic flows cleanly through Burp:
http://localtest.me:3000
XSS happens when a site drops your input into the page without cleaning it, so the browser runs it as code.
html = "<p>Results for: " + userInput + "</p>" # normal: userInput = "shoes" → fine # attack: userInput = "<script>…</script>" → runs
<iframe src="javascript:alert(document.cookie)">
Why it matters: document.cookie is the victim's login session. Stealing it means logging in as them.
The fix (blue team): encode output, so < is shown as text and never runs.
Same bug, different place. To log you in, the site builds a database question by gluing your input into text. Change the input, change the question.
query = "...WHERE email='" + input + "' AND pass='"... # you type: input = ' OR 1=1-- # becomes: WHERE email='' OR 1=1 -- (password ignored, always true)
' OR 1=1--
If it doesn't work, try these variants, databases differ: ' OR 1=1;-- or admin@juice-sh.op'--
The fix (blue team): use parameterized queries, input is sent as data, never as part of the command.
This is the real skill, and what Thursday's challenge needs. For any input on a site you're allowed to test, ask:
The goal isn't memorizing payloads. It's the habit: poke every input and watch what the server does.
The best way to lock this in before Thursday. Same two vulnerabilities, guided, in your browser:
Finding a bug is half the job. Thursday you'll write one of these. Paste your finding and this template into any AI for a draft, then check every line yourself.
# Vulnerability Report Title: [e.g. Reflected XSS in product search] Severity: [Critical / High / Medium / Low] Affected asset: [URL / field] Tested by: [your name] ## Summary [1-2 sentences: what it is and why it matters.] ## Steps to Reproduce 1. [step] 2. [step] 3. [step] ## Proof of Concept [the exact payload used] ## Impact [what an attacker can actually do.] ## Remediation [how to fix it.]
Want the full path beyond this week, tools, labs, certs, how to make money? It's all in the roadmap.