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
8209 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

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Microsoft Word

Blog banner

E-learning

Blog banner

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Challenges and risks in service operations

Blog banner

Deadlock and Starvation

Blog banner

RAID

Blog banner

Memory Management in Operating System

Blog banner

Regression Analysis

Blog banner

Operating Systems

Blog banner

Who decides your overthinking, anyway?

Blog banner

How to grow followers on Instagram business account?

Blog banner

Virtual machine.

Blog banner

How International Schools Build Global-Minded Students through Curriculum & Activities

Blog banner

Deadlock in Operating systems

Blog banner

Threat management

Blog banner

DATA VAULT

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

COMMUNICATION

Blog banner

LINUX

Blog banner

Things You Should Leave Behind In 2025, Whilst In 2026

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Procedure For Corporate High-Tech Investigations

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Different memory allocation strategies

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Malware Defense

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

How Does SSO Works

Blog banner

Save Environment

Blog banner

Service Operation

Blog banner

The Dark Web: A Breeding Ground for Cybercriminals – How to Guard Against Threats

Blog banner

The Golden Temple , Amritsar

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

IOT Hacking Techniques

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

Types of Threads

Blog banner

Linux -V Server Virtual Machine

Blog banner

Direct Memory Access

Blog banner

Virtual Machine

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner