linux修正DVWA问题
问题:DVWA some function disabled
处理:
https://www.cnblogs.com/lsdb/p/6826519.html How DVWA some function disabled -> abled
问题:PHP function allow_url_include: Disabled
处理:编缉/opt/lampp/etc/php.ini
将allow_url_include
值由Off改为On1
2
3
4
5dassein@pad:/opt/lampp/htdocs/DVWA-master/config$ sudo gedit /opt/lampp/etc/php.ini
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-include
allow_url_include=On
问题:PHP module gd: Missing
处理:yum install -y php-gd
问题:reCAPTCHA key: Missing
处理:编缉/opt/lampp/htdocs/DVWA-master/config/config.inc.php
- 配置$_DVWA[ ‘recaptcha_public_key’ ] = ‘6LdK7xITAAzzAAJQTfL7fu6I-0aPl8KHHieAT_yJg’;
- 配置$_DVWA[ ‘recaptcha_private_key’ ] = ‘6LdK7xITAzzAAL_uw9YXVUOPoIHPZLfw2K1n5NVQ’;
问题:Unable to connect to the database
处理:编缉dvwa/config/config.inc.php
,将$_DVWA[ 'db_password' ]
的值改成自己设的数据库root账号的密码
重启httpd(service httpd restart)刷新页面