Difference between revisions of "DVWA"
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
==Link Terkait== | ==Link Terkait== | ||
− | * [[Digital | + | * [[Digital Forensics]] |
Latest revision as of 13:34, 9 October 2024
Instalasi DVWA
Install php
sudo apt install php php-curl php-xml libapache2-mod-php php-mysql php-mbstring php-soap php-fpm
Install mysql
sudo apt install mysql-server mysql-client
Download DVWA di link https://github.com/digininja/DVWA
sudo cp DVWA-master.zip /var/www/html/ cd /var/www/html/ sudo unzip DVWA-master.zip sudo chmod -R 777 DVWA-master
Sesuaikan isi dari config.inc.php
cd dvwa/config/ cp config.inc.php.dist config.inc.php vi config.inc.php
Sesuaikan isi config dengan setting mysql
sudo mysql -u user -p
Jika ada error pada saat penggunaan cara di atas, bisa menggunakan cara berikut
sudo apt install mariadb-server mariadb-client
Sesuaikan dengan file berikut
sudo vi /var/www/html/dvwa/config/config.inc.php sudo cat /var/www/html/dvwa/config/config.inc.php sudo systemctl status mysql.service sudo systemctl status apache2 sudo chmod -R 777 /var/www/html/dvwa/ sudo cat /var/www/html/dvwa/config/config.inc.php