Damn Vulnerable Web Application is damn vulnerable! Do not upload it to your hosting provider's public html folder or any Internet facing servers , as they will be compromised. It is recommended using a virtual machine (such as VirtualBox or VMware), which is set to NAT networking mode. Inside a guest machine, you can download and install XAMPP for the web server and database.
We do not take responsibility for the way in which any one uses this application (DVWA). We have made the purposes of the application clear and it should not be used maliciously. We have given warnings and taken measures to prevent users from installing DVWA on to live web servers. If your web server is compromised via an installation of DVWA, it is not our responsibility, it is the responsibility of the person/s who uploaded and installed it.
Also, we wont be responsible for how a person use the resources from this repository. It will be the responsibility of the person who uses the resouces from here.
Download Ubuntu Server from Ubuntu.com
And install it on a virtual machine.
run the following commands
sudo apt install git
git clone https://github.com/AadithyanRaju/DVWA-Solutions.git
bash ./DVWA-Solutions/setup.sh