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

Deadlock in operating system

Blog banner

SNAPCHAT

Blog banner

The Memory Hierarchy

Blog banner

Measuring IT Risk

Blog banner

Process, process creation and process termination

Blog banner

Depression

Blog banner

Why Data Security Is Important

Blog banner

Paging

Blog banner

Virtual memory

Blog banner

Different types of scam frauds

Blog banner

File System

Blog banner

Emailing the merger document

Blog banner

Mental Health in an Ageing Population: Supporting the Mind Through Life’s Transition

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Explaining Buffer Overflow with Example

Blog banner

Deadlock

Blog banner

Virtual Memory - Explaination, Working, Steps

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

Photography

Blog banner

Bots and Cyber Security

Blog banner

Earth with no trees

Blog banner

EID UL FITR

Blog banner

Race Condition in Operating Theatre

Blog banner

Student Grade Calculator in LISP

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Cache memory

Blog banner

What is thread and multithreading ?

Blog banner

Threats To Computer System

Blog banner

Security requirements for Safe E-Payments

Blog banner

Direct Memory Access

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

Disk cache

Blog banner

Memory

Blog banner

Self defence

Blog banner

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

Biometric Authentication Vulnerabilities

Blog banner

Process Description

Blog banner

Fitness

Blog banner

Computer Security

Blog banner

How to Add Super Seeds to Your Everyday Meals: Easy & Healthy Ideas

Blog banner

Multicore and multithreading 171

Blog banner