放到WWW下后,打开C:\WWW\DVWA-master\config
将config.inc.php.dist重命名为config.inc.php并修改配置,mysql数据库密码
标红:PHP function allow_url_include: Enabled
DVWA给的提示:
If you see disabled on either allow_url_fopen or allow_url_include, set the following in your php.ini file and restart Apache.
allow_url_fopen = On
allow_url_include = On
打开C:\phpStudy\PHPTutorial\php\php-5.4.45修改php.ini
查找allow_url_include,并改为on
标红:reCAPTCHA key: Missing
编辑 dvwa/config/config.inc.php这个配置文件
文件提示:eCAPTCHA settings
# Used for the 'Insecure CAPTCHA' module
# You'll need to generate your own keys at: https://www.google.com/recaptcha/admin
把key填上就行了
$_DVWA[ 'recaptcha_public_key' ] = '6LdK7xITAAzzAAJQTfL7fu6I-0aPl8KHHieAT_yJg';
$_DVWA[ 'recaptcha_private_key' ] = '6LdK7xITAzzAAL_uw9YXVUOPoIHPZLfw2K1n5NVQ';
全绿了以后点Create
admin/password
开始8