Turn your phone sideways
The slides are widescreen. Landscape fills the screen.
Laptops out. We set up a safe lab and find two real vulnerabilities, by hand.
Today we stop talking about it and do it, on a lab that's built to be hacked.
Paste an error or a confusing response, ask it what's happening and what to try next.
Ask "what could I try in this input, and why?" to learn faster.
Give it your finding, get a clean first draft to edit.
Always verify. AI is confidently wrong often. Use it to move faster, not to think for you.
Docker, Juice Shop, Burp.
Explain, then hunt it together.
Explain, then do it together.
Write up what we found.
Docker lets us run our practice website the exact same way on every laptop, no messy install. Get Docker Desktop (Mac & Windows), open it once, and check it works:
Download: docker.com/products/docker-desktop
One command downloads and runs a website that's made to be hacked. Completely legal, it's ours.
When the shop loads in your browser, you're ready. This is our playground for the rest of the session.
Burp sits between your browser and the site, so you can read every request and change it before it's sent. Open Burp Community (free) and use its built-in browser.
Juice Shop runs on your machine, it's yours, so it's legal. A real website needs written permission. Unauthorized access is a crime in Algeria (Penal Code 394 bis). Same skill, the difference is permission.
Remember Sunday: the site puts your input into the page. Here's the exact line that causes it.
Your input was mixed into the page's code. The browser can't tell your script from the site's own.
Clean the output: turn < into harmless text so it shows as letters, never runs.
Same bug as XSS, different place. To log you in, the site builds a database question by gluing your input into text.
Your input was mixed into the command. The quote and -- let you rewrite the question itself.
Use parameterized queries: input is sent as data, never as part of the command.
A good report says: what you found, how to repeat it, why it matters, how to fix it. Give your notes to AI for a first draft, then check every line yourself.
This is exactly what Thursday's challenge will ask you to do.
Do the XSS and SQL injection labs. Same vulns, guided, in your browser. Best practice there is.
Teams compete to find bugs in Juice Shop and write a report. Bring this laptop, keep Juice Shop ready.
Everything on Thursday uses exactly what you did today. Resources: medjahdi.dev/src
Questions? Ask me anything.
Every slide, the setup guide, the payloads, the practice pack, and the full roadmap. Free, forever.
medjahdi.dev/src