How To Install DVWA in Kali Linux [Kali Linux 2022.1]

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to my youtube channel in this video i will gonna show how to install damn vulnerable web app or dvwa in kali linux so let's start damn vulnerable web app dvwa is a php mysql web application that is damn vulnerable its main goals are 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 so copy the github link from the official github page i will give the link in the description below now you can see my installed latest kali linux version your kali linux should be up to date you can update your kali linux using sudo apt update command now using the cd command go to the web server directory slash bar slash www html as just the default root folder of the web server now download the dvwa using the git clone command now here you can see the downloaded directory now we have to give the executable permission for this directory so this is the command sudo chmod r 777 and directory name dvwa now using the cd command go to the config directory inside the dvwa and here you can see the default configuration file and here you can see the default configuration file config dot inc dot php dot dist the next step is to copy this file into the same directory and rename it to config.inc.php always make a copy do not rename the original file in the future original file may be needed now we have to edit the config dot inc dot php file so open this file using your favorite text editor i am using nano text editor here now in this file you will see the default configurations like this you can use the default settings or you can do some changes like i am changing the database username and password and then save the file now save the file by pressing control plus o key and exit by pressing the control plus x key now our dvwa configuration is completed now next thing is to do start the database services so the command is sudo service mysql start no error mean service is started now let's login into mysql server i am using root user to login into mysql server you can log into another super user if you want by default in mysql no password setup for the root user so just hit the enter now set up the database for dvwa first thing is to create a database and in the dvwa configuration file we set up the database named dvwa now we have to create a new user so the command is create user then the name of the user that is admin at 127.0.0.1 this is an ipv4 address called loopback address localhost or local server identified by password and semicolon now next step is to do grant all the privileges to this user over the database of dvwa so the command is grant all privileges on dvwa dot star 2 admin ad 127.0.0.1 and semicolon now our database is configured now exit from the mysql by typing exit now clear the screen by pressing windows plus l key now start the web server i am using apache 2 web server so the command is sudo service apache 2 start because apache 2 is by default installed in the latest version of kali linux now next step is php configuration yes we have to do some changes to the php dot and file so this is the commander path of the file my installed php version is 8.1 if in your system php version is anything else you will see the version here here if you are using a nano text editor you have to press the control plus w to enable the search option and here we have to search the f open now here you can see we find the f open here we have two on these options allow url f open equals should be on and allow url include equals should be on here both values should be on now save the file by pressing control plus o key and exit by pressing the control plus x key now reload the apache 2 web server using this command sudo service apache to reload now open your web browser and enter the 127.0.0.1 my local web server address and name of the directory dvwa now here enter the username as admin and password is password the first time you will get this screen database setup here scroll it down and click on create reset database now log in again with the same username and password now you can easily use the dvwa in your kali linux so that is it this is the way how to install damn vulnerable web app or dvwa in kali linux thank you for watching this video and make sure to subscribe my channel so you don't miss out on my future videos thank you very much see you in next video
Info
Channel: TECH DHEE
Views: 48,247
Rating: undefined out of 5
Keywords: techdhee, Install DVWA in Kali Linux, Kali Linux 2022.1, How To Install DVWA, DVWA, Kali Linux, Damn Vulnerable Web Application, PHP, MySQL, security professionals, securing web applications, learn web application security, Damn Vulnerable, Web Application, dvwa install kali linux
Id: jJbMkqUezpI
Channel Id: undefined
Length: 6min 21sec (381 seconds)
Published: Sun Mar 13 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.