How To Setup DVWA In Windows 10 Using XAMPP

How To Setup DVWA In Windows 10 Using XAMPP

 

Before installing DVWA, we must first understand what DVWA is and why we utilise it.

Damn Susceptible Web Application (DVWA) is a vulnerable PHP/MySQL web application. Its primary goal is to assist security professionals in testing their skills and tools in a legal setting, to assist web developers in better understanding the processes of securing web applications, and to assist both students and teachers in learning about web application security in a controlled classroom environment.

The goal of DVWA is to practise some of the most common online vulnerabilities at varying levels of severity through a simple and intuitive interface. Please keep in mind that this programme has both documented and undocumented vulnerabilities. This is done on purpose. You are encouraged to investigate as many concerns as possible.

DVWA can be downloaded at http://www.dvwa.co.uk/.

XAMPP to be downloaded and installed on your PC.

XAMPP is a free and open-source cross-platform web server solution stack package built by Apache Friends that includes the Apache HTTP Server, the MariaDB database, and interpreters for PHP and Perl scripts.

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

Start ‘Apache and MySQL’ in XAMPP.

There is no alt text for this photograph.
Extract the downloaded DVWA file to htdocs, which will be available in C:
xampp

There is no alt text for this photograph.
Rename ‘DVWA-master’ to ‘dvwa’ in the htdocs folder.

And then, on your browser, type 127.0.0.1/dvwa.

This type of mistake will be displayed. “DVWA System Error – Configuration File Could Not Be Found.” Copy config/config.inc.php.dist to config/config.php and configure according to your needs.”

There is no alt text for this photograph.
Rename the file config.inc.php.dist to config.inc.php. It will be accessible in the following languages: C: \xampp\htdocs\dvwa\config

There is no alt text for this photograph.
Enter ‘127.0.0.1/dvwa’ into the browser’s URL once more.

There is no alt text for this photograph.
There is no alt text for this photograph.
Select ‘Create/Reset Database’.

This type of mistake will be displayed.

There is no alt text for this photograph.
You must now edit the config file that you renamed in the previous step.

Then, in Notepad, clear the password or make the password empty by removing the default password and entering root as the username. (its database user id and password)

There is no alt text for this photograph.
Click on ‘Create / Reset Database’ one again.

There is no alt text for this photograph.
This type of output will be seen.

There is no alt text for this photograph.
If you do not click on ‘Login,’ you will be automatically redirected to the login page.

There is no alt text for this photograph.
The default username and password are ‘admin’ and ‘password’, respectively.

There is no alt text for this photograph.
Congratulations, you have successfully installed DVWA in Windows 10.

Leave a Reply