DVWA环境支持https访问(已验证)

1、首先按照如下文件安装最基本DVWA的环境,该环境搭建完成后支持http访问

(6条消息) DVWA安装教程(懂你的不懂·详细)_学会了再换名字的博客-CSDN博客

2、进入到phpstudy_pro的安装路径下修改apache的配置文件,路径如下:phpstudy_pro\Extensions\Apache2.4.39\conf

2.1 修改httpd.conf文件,包含httpd-ssl.conf文件

<IfModule ssl_module>
Include conf/extra/httpd-ssl.conf
#Include conf/extra/httpd-ahssl.conf

2.2指定文档路径

DocumentRoot "D:/phpstudy_pro/WWW"

2.3使用默认的认证文件

SSLCertificateFile "${SRVROOT}/conf/ssl/server.crt"
SSLCertificateKeyFile "${SRVROOT}/conf/ssl/server.key"

2.4 修改一下网页的php解析,将路径换成自己的安装路径

FcgidInitialEnv PHPRC "D:/phpstudy_pro/Extensions/php/php7.3.4nts"
AddHandler fcgid-script .php
FcgidWrapper "D:/phpstudy_pro/Extensions/php/php7.3.4nts/php-cgi.exe" .php

2.5 在phpstudy_pro中重启apache的服务

 3. 使用https访问

https://127.0.0.1/DVWA-master/

successful   成功   

4. 输入用户名和密码并选择系统安全级别:

admin/password

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值