How To Setup DVWA in Windows 7

Posted by Suraj Singh on January 06, 2017 · 4 mins read

Hello readers,

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 :