(W41M01) Setting-Up the Environment - Pentestmag
Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

(W41M01) Setting-Up the Environment

Download the following tools on your Windows OS:

Installing DVWA with WAMP

  1. Download DVWA
  2. Extract the content of the DVWA Package
  3. 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)
  4. Configure DVWA setup. Open Config folder at “C:\wamp\www\dvwa\config”
  5. Edit config.inc file 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)

7. Type the following address: localhost/dvwa/setup.php

8. Click on create Database

9. To Login and start using DVWA Lab:

  1. open localhost/dvwa/
  2. default login is:
      • username — admin
      • password—- password

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

SEE ALL Add a note
YOU
Add your Comment
 
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023