搭建DVWA环境
1.进入dvwa官网下载,点击“DOWNLOAD”
2.在百度搜索”phpstudy“,根据自己的需求来下载相应的版本
3.分别解压两个压缩包,将“DVWA-master”文件夹移到“phpstudy_pro”的“WWW”目录下,并改名为“DVWA”
4.安装并打开phpStudy_64,启动“Apache2.4.39”和“MySQL5.7.26”
5.在.“phpstudy_pro\WWW\DVWA\config”下将“config.inc.php.dist”改为“config.inc.php”,对应phpstudy中的数据库并改为相应的密码db_passward(root)
别的也要对应上哦。。。
6.保存好了之后打开“http://localhost/dvwa/security.php”网址
点击“Creat/Reset Database”显示如下即可: