Nygjerrig på websikkerhet? I dag er du en hacker, enten aleine eller sammen med en kollega, der vi hacker OWASP Juice Shop. Her er det utfordringer for alle, helt fersk eller om du alt henger på the Dark Web. I dag er ikke Juice Shop trygg, når Bouvet hackerteam slår til.
Vi samler oss og tar en liten gjennomgang felles.
- Hva er JuiceShop?
- Hva er en CTF?
- Hvorfor (learning goals)
- Tools
Alle må lage konto på vår private CTFd, her kan de som har lyst samle seg i Team og jobbe sammen lage et team og joine det. Om du har lyst å jobbe aleine, så er det helt fint, bare lagt et team med bare deg i. Challenges og Scoreboard åpner kl 1230 og vi holder på så lenge vi har det gøy.
PS: Du trenger ikke bruke ekte navn eller e-post. Finn ditt hacker nick ;)
Kl | |
---|---|
1200 | Oppmøte Skostredet & Intro |
1220 | Pause |
1230 | JuciceShop med CTFd (m/pauser når det passer) |
1600 | Helg |
JuiceShop: http://localhost:3000/
CTFd Score Server: http://fagdag-ctfd.kefo.no/
Backup: http://fagdag-ctfd.kefo.no:3000
Du trenger enten Docker eller Podman. Podman er gratis, og Docker må du ha lisens om du begynner å bruke det når du utvikler.
brew install docker
brew install docker-compose
mkdir -p ~/.docker/cli-plugins
ln -sfn /opt/homebrew/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
Docker Desktop Install (macOS/Windows/Linux)
This has both the docker
and docker-compose
command.
Navigate to the root of the cloned repo.
There should be a docker-compose.yml
file there, and then you can run the following commands.
docker-compose up -d
docker-compose down
The challenges are now available at http://localhost:3000/
To clean up and remove the docker container, you can from the same root folder, run:
docker compose rm -v -f
For macOS, you will need podman
and podman-compose
.
For Windows, you will need Podman-desktop and podman-compose
.
brew install podman
brew install podman-compose
#optional (but it is very nice)
brew install podman-desktop
# Init and Start Podman
podman machine init
podman machine start
podman status
You will need the Podman-Desktop and podman-compose
To install, follow the instructions below.
TL;DR: Install the latest stable version from PyPI:
pip3 install podman-compose
pass --user
to install inside regular user home without being root.
Starting and stopping:
podman-compose up -d
# Stopping
podman-compose down
Navigate to the root of the cloned repo.
There should be a docker-compose.yml
file there, and then you can run the following commands.
# Start the challange
podman-compose up -d
# Stopping
podman-compose down
The challenges are now available at http://localhost:3000/
podman-compose rm -v -f