wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

How To Setup DVWA Using XAMPP on Windows

profile
Taha Chatriwala
Oct 29, 2017
0 Likes
0 Discussions
8208 Reads
Today you are going to see how to setup DVWA using XAMPP on a windows computer:
 
Before going into the how-to guide, take a look at "what is DVWA?".
 
DVWA is a PHP/MySQL web application that is damn vulnerable. It is a safe and legal platform for penetration testers to test their skills and tools. And if you are a web developer you can use this damn vulnerable web application to understand the process of securing your web applications.
 
DVWA allows you to learn more about some of the most common web vulnerabilities. Using various difficulty levels, you can measure your skill level and improve yourself.
 

Here is how to setup DVWA on your windows computer:

1. Download and install XAMPP on your computer.

Download From Here: XAMPP for Windows
 

2. Open XAMPP: 

Then open the XAMPP control panel and start "Apache" and "MySQL" service.
 
How To Setup DVWA Using XAMPP on Windows

3. Download Damn Vulnerable Web App (DVWA)

From Here : Damn Vulnerable Web App (DVWA)
 

4.Extract the Zip to htdocs :

Then extract the zip file to the htdocs folder and rename the folder to "DVWA" (without quotes) , so that it will be easy to access later. The htdocs folder can be found at C:\xampp.

5. Open the web browser:

Open the browser and then type "localhost/DVWA" in the address bar (without quotes). You will see the setup page
 
How To Setup DVWA Using XAMPP on Windows
 

5. Click on "Create/Reset Database" button.

If it shows any error, go to C:\xampp\htdocs\DVWA-1.9\config and then edit the config file.
 
How To Setup DVWA Using XAMPP on Windows
 

6. Edit the Password :

Here I'm using Notepad++ to edit the config file. Since the default password of PhpMyAdmin is blank, set db_password=''; 
 
How To Setup DVWA Using XAMPP on Windows
 

7. Now click on "Create/Reset Database" button or just visit directly to: "localhost/dvwa".

The database will be created and then you will be directed to a login page.
 
How To Setup DVWA Using XAMPP on Windows
 

8. Done !!

Enter "admin" as username and "password" as the password. Then click on the login button, you will see a page as shown below. Yes, you have setup DVWA successfully.
 
How To Setup DVWA Using XAMPP on Windows
 

Thank You !!


Comments ()


Sign in

Read Next

Why home remedies don’t work for Hangover?

Blog banner

Sage

Blog banner

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

Principles of Concurrency

Blog banner

Memory management

Blog banner

How I use google in my daily life

Blog banner

Ubiquitous Computing

Blog banner

Session Hijacking

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

OS Assignment 1

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Direct Memory Access

Blog banner

(Input/Output) in os

Blog banner

I/O Buffering

Blog banner

Hey Aryan here

Blog banner

An Introduction To Quick Solutions Of International Dating Sites

Blog banner

Self Confidence

Blog banner

On-Page SEO

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

Dr. Venkadavarahan

Blog banner

Phishing

Blog banner

GIS Mapping

Blog banner

Cache Memory in Operating Systems

Blog banner

Social Media Sentiment Analysis

Blog banner

What is Segmentation?

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Embedding a Youtube video on Wisemonkeys

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

Binary Search Tree (BST) in Data Structure

Blog banner

Power of words

Blog banner

Sessions In OS.

Blog banner

Predictive Analysis - Ek Overview

Blog banner

Direct Memory Access

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

Blog on Smartsheet.

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Elements and Principles of Photography

Blog banner

IT service level agreement

Blog banner

Memory Management

Blog banner