In this video I install and configure DVWA (Damn Vulnerable Web Application), including its dependencies Apache, PHP and MySQL. Command usage, such as chown (change ownership), tail and less are covered, alongside the PHP configuration options for DVWA.
With this type of application installed and configured, we can begin to perform some actual hacks, as we now have all the requirements necessary. (i.e. a set of tools (Kali Linux), and a vulnerable target (DVWA))
You can also use this bash script I wrote: https://pastebin.com/4BZGsaLx
Just copy and paste it, save it as e.g. install.sh and execute chmod +x install.sh && ./install.sh
(Tested 15 September 2016 on a 100% clean Kali Linux 2016.1 VM)
Here’s a script for Kali 2016.2, written and tested today (05 October 2016): https://pastebin.com/raw/0khK0uzG
Copy and save to a file.
If you download it with:
mv 0khK0uzG install.sh
chmod +x install.sh
Stay tuned and subscribe for more upcoming videos showing actual hacks!