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  config.inc.php File located under DVWA >> Config >> config.inc.php as screenshot given below
 Now open config.inc.php as noteped and  then mdify its configuration file as screenshot given below

here
$_DVWA = array();
$_DVWA[ 'db_server' ]   = '127.0.0.1' 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 

http://127.0.0.1/DVWA/login.php 

Here Your Default Username is 'admin'

and Default Password is 'password'

Done!

Thanks For Support
For Any Suggestion Feel Free To Contact Us
Email : surajsinghbisht054@gmail.com


Comments

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

    ReplyDelete
  2. hmm,

    friend try this solution : https://sourceforge.net/p/phppgadmin/discussion/115884/thread/8902ecdb/

    ReplyDelete

Post a Comment

Related Post

Top Visited

how to install burp suite in Linux/Ubuntu 16.04

Big List Of Google Dorks For Sqli Injection

Create Simple Packet Sniffer Using Python

how to configure burpsuite with firefox?

Latest Google Dorks List

Python Beautiful Soup Module - Tutorial - Part 2

Create Ping Sweeping Script Using Python

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

What is Burp Suite And its Features?

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