0% found this document useful (0 votes)
69 views8 pages

Damn Vulnerable Web Application

1. This document provides instructions for setting up the Damn Vulnerable Web Application (DVWA) on a Linux system using Apache, MySQL, and PHP (LAMP stack). It describes downloading and installing all required software, configuring the web server and database, deploying the DVWA files, and accessing the vulnerable web application. 2. Key steps include installing Apache, MySQL, and PHP on Kali Linux, downloading and extracting the DVWA source code, configuring the database connection settings, securing the MySQL installation, and browsing to the DVWA setup page to initialize the vulnerable platform. 3. Once completed, the user will have a fully functioning vulnerable web application environment called DV
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views8 pages

Damn Vulnerable Web Application

1. This document provides instructions for setting up the Damn Vulnerable Web Application (DVWA) on a Linux system using Apache, MySQL, and PHP (LAMP stack). It describes downloading and installing all required software, configuring the web server and database, deploying the DVWA files, and accessing the vulnerable web application. 2. Key steps include installing Apache, MySQL, and PHP on Kali Linux, downloading and extracting the DVWA source code, configuring the database connection settings, securing the MySQL installation, and browsing to the DVWA setup page to initialize the vulnerable platform. 3. Once completed, the user will have a fully functioning vulnerable web application environment called DV
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

1.

1.

DAMN VULNERABLE WEB APPLICATION

Linux-
-
-

DVWA [1-3],

ASP.NET, Java).

,
[1-6].

1.1 Kali L

6
1.

[4].

OWASP [5] (Open Web Application Security Project).

Web-
OWASP TOP-
Web-

OWASP Testing Guide [6] (v. 4.0).

Kali Linux,

Web-

1.2 -

-
7
1.

+PHP).

:
sudo apt-get update

sudo apt-get install apache2


-
http://localhost/.
1.1.

.1.1. - Apache2
-

sudo apt-get install mysql-server

8
1.

mysql_secure_installation

sudo apt-get install php5 php-pear php5-mysql

sudo nano /etc/php5/apache2/php.ini


2

allow_url_include On

sudo service apache2 restart

-
Damn Vulnerable Web Application.

-
/var/www

cd /var/www/html
wget
https://github.com/ethicalhack3r/DVWA/archive/master.
zip
unzip master.zip

2
nano
Ctrl+X Y

9
1.

sudo
DVWA-master
dvwa

rm master.zip
mv DVWA-master dvwa

3
-

sudo nano dvwa/config/config.inc.php

chmod -R 777 /var/www/html/dvwa

mysql -u root -p

create database dvwa;


exit

10
1.

sudo nano /etc/apache2/apache2.conf

ServerName localhost

http://127.0.0.1/dvwa/setup.php

Create / Reset Database


1.2.

1.2.

11
1.

admin
password.

1.
LAMP.
2.

1.
2.

3.

4.

ls -lah /var/www/html/dvwa

php v

DVWA.

-
12
1.

1.
2.
3. Linux.
4.
5.
6.
7.

8.

13

You might also like