Skip to main content

How To Setup DVWA in Windows 7

Hello Friends,

Today I Gonna To Show You How To Install DVWA in Windows.

Introduction Of DVWA:

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is damn vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, help web developers better understand the processes of securing web applications and aid teachers/students to teach/learn web application security in a class room environment.

1. Xampp (You Can Download From  Here  )

2. DVWA Zip (You can Download From here )

3. Browser

First of all Install Xampp,

Then open Its Contral Panel, And Start Apache server and Mysql As Screenshot Given Below


Now, unzip it to C:\xampp\htdocs\ DVWA File as screenshot given below

Now Open File located under DVWA >> Config >> as screenshot given below
 Now open as noteped and  then mdify its configuration file as screenshot given below

$_DVWA = array();
$_DVWA[ 'db_server' ]   = '' is for mysql database ip address
$_DVWA[ 'db_database' ] = 'dvwa' is for mysql database table name
$_DVWA[ 'db_user' ]     = 'root'; is for mysql user name
$_DVWA[ 'db_password' ] = 'p@ssw0rd'; is for mysql password

You can also modify your mysql password with this command : -

 >> C:\xampp\mysql\bin\mysqladmin -u root password 123456

As xampp default password is (no password)
so change your configuration from 

$_DVWA[ 'db_password' ] = 'p@ssw0rd'

to        $_DVWA[ 'db_password' ] = ''

 as screenshot given below

Now Save this files and open your browser

Now you can access DVWA at 

Here Your Default Username is 'admin'

and Default Password is 'password'


Thanks For Support
For Any Suggestion Feel Free To Contact Us
Email :


  1. Hi Suraj, I am getting this error message "DVWA System error - config file not found. Copy config/ to config/ and configure to your environment." I have changed the file name as specified and configured the environment. Still Getting that error message.

  2. hmm,

    friend try this solution :

  3. I can't see .dist extension


Post a Comment

Related Post

Top Visited

Create Simple Packet Sniffer Using Python

how to install burp suite in Linux/Ubuntu 16.04

List of Keyboard Shortcuts Keys for GNOME Desktop (Kali linux / Linux / Ubuntu/*nix )

How to create Phishing Page Using Kali Linux | Webpage Page Cloning Using Kali Linux Social Engineering Toolkit

Big List Of Google Dorks For Sqli Injection

Latest Google Dorks List

Best 1000 User-agents List For Web Scraping

How To Install GDB Peda?

What is the use of Pseudo header in TCP/UDP packets?

How To Create Snake Game Using Python And Tkinter - Simple python games