Compare commits
3 commits
05066f1c27
...
73881dc6ca
Author | SHA1 | Date | |
---|---|---|---|
73881dc6ca | |||
07d9514db3 | |||
c7093cd7a8 |
1 changed files with 33 additions and 0 deletions
33
Lab03 - Let's Buy Some Juice/README.md
Normal file
33
Lab03 - Let's Buy Some Juice/README.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Let's Buy Some Juice
|
||||
## Booting Up Juice Shop
|
||||
```sh
|
||||
docker run --pull always -p 127.0.0.1:80:3000 bkimminich/juice-shop
|
||||
```
|
||||
|
||||
## SQL Injection
|
||||
### Login as Admin
|
||||
1. Open `Account` => `Login`
|
||||
2. Type `' OR TRUE; --` into `Email` and any password in `Password`
|
||||
|
||||
Result:
|
||||
|
||||
<!--- ToDo: Insert Picture -->
|
||||
|
||||
### Login as Jim
|
||||
1. Open `Account` => `Login`
|
||||
2. Type `jim@juice-sh.op'; --`
|
||||
|
||||
Result:
|
||||
|
||||
<!--- ToDo: Insert Picture -->
|
||||
|
||||
## Cross Site Scripting
|
||||
1. Open up the Search Box
|
||||
2. Type `<iframe src="javascript:alert('hello')">`
|
||||
|
||||
<!--- ToDo: Insert Picture -->
|
||||
|
||||
## Forged Picture
|
||||
This challenge is impossible due to the `/profile` page only reading the username from POST variables.
|
||||
|
||||
POST variables cannot be set through links and thus can't be set in an `img`-tag's `src` either.
|
Loading…
Reference in a new issue