Installation DVWA In Windows 10 Using XAMPP

7 months ago 72
BOOK THIS SPACE FOR AD
ARTICLE AD

Vijay Gupta

Before, installation of DVWA we need to what is DVWA and why we use DVWA?
Damn Vulnerable Web Application (DVWA) is a PHP/MySQL web application that is damn vulnerable. Its main goal is 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 to aid both students & teachers to learn about web application security in a controlled classroom environment.

The aim of DVWA is to practice some of the most common web vulnerabilities, with various levels of difficulty, with a simple straightforward interface. Please note, there are both documented and undocumented vulnerabilities with this software. This is intentional. You are encouraged to try and discover as many issues as possible.

Download DVWA >http://www.dvwa.co.uk/
Download and install XAMPP on your computer

XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages

Download Link >https://www.apachefriends.org/download.html

Open XAMPP and start ‘Apache and MySQL’

Extract DVWA downloaded file in htdocs that will be available in C:\xampp

Open htdocs folder and rename ‘DVWA-master’ to ‘dvwa’

And Open your Browser then type 127.0.0.1/dvwa. It will show this type of error “DVWA System error — config file not found. Copy config/config.inc.php.dist to config/config.inc.php and configure to your environment.”

A filename ‘config.inc.php.dist ‘ rename it to ‘config.inc.php’ it will be available in C:\xampp\htdocs\dvwa\config

Now, again type ‘127.0.0.1/dvwa’ in url of the browser,

Click on ‘Create/Reset Database’

It will show this type of error
Now, you need to edit the config file that you rename earlier step,

Then open it by Notepad and in the password tab, clear the password or make the password empty by remove the default password and give the username as root. (its user database user id, password).

Now , again click on ‘Create / Reset Database’

You will see this type of output,

Click on ‘Login’ or it will automatically redirect to login page,

The default username is ‘admin’ and password is ‘password’.

Great, you successfully installed DVWA in your windows 10.

Vijay Gupta is a cybersecurity enthusiast with several years of experience in cyber security, cyber crime forensics investigation, and security awareness training in schools and colleges. With a passion for safeguarding digital environments and educating others about cybersecurity best practices, Vijay has dedicated his career to promoting cyber safety and resilience. Stay connected with Vijay Gupta on various social media platforms and professional networks to access valuable insights and stay updated on the latest cybersecurity trends.

Read Entire Article