1、修改数据库名+密码
D:\software\phpStudy2018\PHPTutorial\WWW\mutillidae\includes\database-config.inc
2、版本问题,切换到高版本即可
Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in D:\software\phpStudy2018\PHPTutorial\WWW\mutillidae\classes\EncodingHandler.php on line 8
刷新自动跳转
3、D:\software\phpStudy2018\PHPTutorial\WWW\mutillidae\database-offline.php 105行在fsockopen前面加个@
Warning: fsockopen(): unable to connect to 127.0.0.1:389 in D:\software\phpStudy2018\PHPTutorial\WWW\mutillidae\database-offline.php on line 105
4、setup
5、版本问题
Warning: setcookie() expects parameter 3 to be integer, array given in D:\software\phpStudy2018\PHPTutorial\WWW\mutillidae\index.php on line 138
# setcookie accepts array of options starting in PHP 7.3
137行注释提示php版本需要7.3以上
第二步也可以直接在官网下载php7.3以上版本
https://windows.php.net/downloads/releases/archives/php-7.4.3-nts-Win32-vc15-x64.zip
D:\software\phpStudy2018\PHPTutorial\php
将php-7.4.33-nts-Win32-vc15-x64全部文件复制替换到php-7.2.1-nts
phpinfo查看版本信息
http://127.0.0.1/phpinfo.php
返回mutillidae靶场查看显示正常
http://127.0.0.1/mutillidae/