Web app pentesting with Burp Suite
Course 1 built you a legal target: OWASP Juice Shop running in Docker on your own PC. Now you meet the tool professional web testers reach for first, Burp Suite. You install the free Community Edition, send your browser's traffic through it so you can watch and change it, read one real request and its reply byte for byte, change a single value in Repeater and resend it, and then solve three genuine Juice Shop challenges the proper way: logging in as the administrator through SQL injection, walking into the admin section, and reading another customer's shopping basket. Every request in this mission goes to 127.0.0.1 and nowhere else.
- Course 1, Build a hacking lab, finished, so you can start OWASP Juice Shop at 127.0.0.1:3000 ↗ in Docker. This mission uses that exact lab, and the legal rules you learned there still apply in full
- Windows 11 (Burp Suite also runs on macOS and Linux, and the steps are nearly identical). Written for Windows 11
- About 1GB of free disk space for Burp Suite Community and the Java runtime bundled with it
- If the terminal is new to you, the Level 0 lesson Install anything from GitHub covers the basics first
The rules, and fire up your lab
Reset the one line that keeps this legal, then start the target you built in course 1, so everything that follows points only at your own machine.
This is course 2 of the ethical-hacking track, and it stands on course 1, Build a hacking lab. The single rule from that lesson has not changed and never will: you may only test systems you own, or that the owner has given you permission in writing to test. OWASP Juice Shop is built and published to be attacked, it runs entirely on your own PC, and it is reachable only from 127.0.0.1. That is what makes everything below lawful. Pointing the very same tool and the very same requests at a real website, shop or account you do not own is a computer-misuse offence (in the UK, the Computer Misuse Act 1990), whatever your intention.
CarefulBurp Suite can send any request anywhere. In this mission you only ever send requests to your own Juice Shop at 127.0.0.1:3000. Never point Burp, or anything you learn here, at a website, a company, an employer, a friend's machine or anything else you do not own or have written permission to test. Keep it in the lab, or on the practice platforms built to invite it.Now start the lab. If Docker Desktop is not already running, start it from the Start menu and wait for the whale icon in the system tray to go steady. Then bring Juice Shop back with the one command from course 1 (use
docker startif you stopped it last time, or the fulldocker runif you removed it):Wake the lab (or use the full docker run from course 1 if it is gone)docker start juice-shopGive it a few seconds, then confirm it really is the deliberately vulnerable app by asking it its own version, the same check you used in course 1:
Confirm the target is upcurl.exe http://127.0.0.1:3000/rest/admin/application-versionOutput{"version":"20.2.0"}Open 127.0.0.1:3000 ↗ in any browser and you should see the Juice Shop front. That is your target for the whole lesson.
TipA quick memory test for the rest of the track: before you send any request, ask "is this going to 127.0.0.1, my own lab?". If the answer is not a clear yes, stop.
{"version":"20.2.0"} (or a newer number) and Juice Shop opens at 127.0.0.1:3000.If it breaksdocker start says: No such container: juice-shop + 1 more
docker start says: No such container: juice-shop
docker run -d --name juice-shop --network juice-lab -p 127.0.0.1:3000:3000 bkimminich/juice-shop. If the network is also gone, run docker network create juice-lab first.The browser can't connect to 127.0.0.1:3000
docker ps. If it is not listed, read its start-up messages with docker logs juice-shop.