|
3 | 3 | This lab is designed for **hands-on exploration of OWASP Juice Shop using only the browser’s Developer Tools** — no scanners, scripts, or external tools. |
4 | 4 | Students will learn how attackers uncover client-side weaknesses through **source inspection, network tracing, storage analysis, and live code manipulation** directly within DevTools. |
5 | 5 |
|
| 6 | +Refer to juice shop repo for installation: [Juice Shop Repo](https://github.com/juice-shop/juice-shop) |
| 7 | + |
6 | 8 | # The challanges |
7 | | -- Find the scoreboard |
8 | | -- Try to change others' orders |
9 | | -- Bypass the authentication by modifying in-memory state or calling exposed functions |
| 9 | +- Scoreboard - gain access to the scoreboard |
| 10 | +- View others' orders |
| 11 | +- Access the admin pabel |
10 | 12 | - Manipulate authentication tokens stored on the client to change privileges or view protected content. |
11 | 13 | - XSS - Find a place where user input is reflected into the DOM without sanitization and achieve JS execution in the page context. |
12 | 14 |
|
| 15 | +## General Hints |
| 16 | +- View source |
| 17 | +- Check the cookies |
| 18 | +- Inspect the local stroage |
| 19 | +- Check the source control |
| 20 | +- Check the console |
| 21 | +- Check the netwrok tab |
| 22 | +- Debug (in the browser) |
| 23 | +- Use the Pretty Print ({}) function in Sources to make minified JS readable. |
| 24 | + |
| 25 | +## How edit and resend requests |
| 26 | + |
| 27 | +### In Chrome DevTools |
| 28 | + |
| 29 | +1. Open **Network** tab. |
| 30 | +2. Find the request you want to modify. |
| 31 | +3. Right-click it → **Copy → Copy as fetch**. |
| 32 | +4. Go to the **Console**, paste it, edit any part (URL, headers, body), and press **Enter** to resend. |
| 33 | + |
| 34 | +### In Firefox Developer Tools |
| 35 | + |
| 36 | +1. Open **Network** tab. |
| 37 | +2. Right-click the request → **Edit and Resend** (directly available). |
| 38 | +3. Modify any header, method, or body. |
| 39 | +4. Click **Send**. |
| 40 | + |
| 41 | + |
13 | 42 | # Solutions |
14 | 43 | In the next pages will show the solution one after anohter |
15 | 44 |
|
|
0 commit comments