在DVWA平台中测试文件包含是出现错误信息include(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0,原因是设置allow_url_open 与allow_url_include 位置不对,在C:\xampp\htdocs\DVWA\php.ini文件中都设置为on并不会起作用,需要在xampp管理器中对php.ini进行设置。
如下图所示

在apache中选择config-php(php.ini),打开设置配置文件,在在配置文件中将allow_url_include =On 、allow_url_open=On,保存文件,重启Apache服务器,问题即可解决。
在DVWA平台上进行文件包含漏洞测试时遇到错误提示,通过正确配置xampp中的php.ini文件来解决问题,需确保allow_url_include及allow_url_open选项启用。
3409

被折叠的 条评论
为什么被折叠?



