Step1:下载dvwa到本地
[email protected]:~# git clone https://github.com/ethicalhack3r/DVWA.git
Step2:重命名文件夹
[email protected]:~# mv DVWA dvwa
Step3:安装
[email protected]:~# service apache2 stop
[email protected]:~# cp -r dvwa /var/www/html/
[email protected]:~# cd /var/www/html/
[email protected]:/var/www/html# rm -rf index.html
[email protected]:/var/www/html# rm -rf index.nginx-debian.html
[email protected]:/var/www/html# service mysql start
[email protected]:/var/www/html# mysql -u root -p
MariaDB [(none)]> create database dvwa;
[email protected]:/var/www/html# service apache2 start
原文地址:https://www.cnblogs.com/Cyber-insight/p/12650201.html
时间: 2024-10-05 22:04:45