Introduction
For this guide we will be working with docker. Docker is a system that allows you to easily spin up a container from a configuration file. This eliminates the need to install all of the dependencies that are needed on our own system just to run something simple like the DVWA. We simply have to install docker on our host system. To do this on windows or OSX simple download the docker desktop client from their homepage.
https://www.docker.com/products/docker-desktop
For linux, either install it using yum or apt:
sudo apt-get install docker.io
sudo yum install docker.io
Installing our test application
We will be using DVWA as our test application to demonstrate these vulnerability types so that you can get an easy overview of the basics and can follow along. We firstly need to install DVWA though by pulling the docker container.
docker pull vulnerables/web-dvwa
This will take a while so sit back and grab a coffee.
Now that we have the container pulled, all we need to do is start it.
docker run --rm -it -p 80:80 vulnerables/web-dvwa