Damn Vulnerable Web App (DVWA) is a PHP/MySQL based web application tool which is called damn vulnerable web application.Its mainly build for security professionals or reasearcher to test their skills and tools in a legal environment(DVWA) and it also help web developers better understand the processes of securing web applications,web applications vulnerability and learn web application security and different types of web application vulnerability.Now i will show you how to install DVWA in linux.So lets start,
For installing dvwa some steps will be needed to followed:
1.First download dvwa from this website:
Download
2.Then go to Download folder and find your downloaded file.After finding it you will see this folder is a zip file so now you should be extracted it.Then you rename it or not.
3.Then goto computer(which is your system folder) -> var -> www -> html and paste the folder which name is DVWA or your selected name.
4.Now i want to give permission to this file(DVWA).So now open terminal and type:
chmod -R 755 /var/www/html/DVWA(or your selected name)
5.Then need to open mysql server so open terminal and type :
> service mysql start
Then type:
> mysql -u root -h localhost -p
-u(user)
root(username)
-h(hostname)
-p(password)(type your mysql password or if you already set any password for mysql then enter your enter key :D)
Change mysql Password?
6.Goto dvwa config folder and remove password like db_password = ' ';
7.Create a database name dvwa on mysql so type :
> create database dvwa;
create database named dvwa.
8.Now open terminal and type:
> service apache2 start
and open browser and type
localhost/DVWA or 127.0.0.1/DVWA(actually your file name)
9.You will see login page.
Default Username : admin and Password : password.
Now use it :D
0 Comments