Mac os安裝DVWA環境教程
1.盡管Mac自帶Apache和php
事實上Mac和WIN都用XAMPP一鍵化安裝比較方便
2.解壓DVWA-master 改名為dvwa移動到XAMPP的目錄
3.安裝好XAMPP之后進入Manage Serves 開啟MySQL和Apache
有可能系統默認是開啟的此時需要在terminal中手動關閉,不然會引起沖突
執行sudo apachectl stop
3.訪問localhost 找到phpadmin 新建賬戶
2.
4.vim /Applications/XAMPP/xamppfiles/htdocs/dvwa/config/config.inc.php.dist 如圖修改
5.更改 config.inc.php.dist 為 config.inc.php
6.訪問localhost/dvwa 一鍵Creatdatabase 完事兒
初次登陸
用戶名admin
密碼password
歡迎關注