Copy the Files of DVWA Package and paste it in www folder under your installation path of WAMP, which is usually “C:\wamp\www\dvwa” (dvwa folder is created in www, you can create with any name)
Configure DVWA setup. Open Config folder at “C:\wamp\www\dvwa\config”
Edit config.incfile and verify the following:
our database name (use any name you want: I use DVWA)
database host/server is localhost, i.e.: 127.0.0.1
database user is root (this is Default database user)
password is blank; that is, erase everything between '' (quotes)
save the file and proceed.
6. Open Browser (assumed WAMP server already running)
Download the following tools on your Windows OS:
Installing DVWA with WAMP
6. Open Browser (assumed WAMP server already running)
7. Type the following address: localhost/dvwa/setup.php
8. Click on create Database
9. To Login and start using DVWA Lab:
Alternative approach to use DVWA as Docker image
To run this image, you need docker installed. Run the following command:
docker run --rm -it -p 80:80 vulnerables/web-dvwa
After the docker image is installed, follow from Step 7.
Additional Learning Material
https://medium.com/@chillspike/stages-of-a-secure-software-development-lifecycle-6582481bfe33
Attachments1