当前位置:网站首页>DVWA靶场环境搭建
DVWA靶场环境搭建
2022-07-31 04:47:00 【geejkse_seff】
一、DVWA简介
DVWA(Damn Vulnerable Web Application)是一个用来进行安全脆弱性鉴定的PHP/MySQL Web 应用,旨在为安全专业人员测试自己的专业技能和工具提供合法的环境,帮助web开发者更好的理解web应用安全防范的过程。
二、环境搭建
1.搭建网页,使用phpstudy小皮,phpStudy是一个PHP调试环境的程序集成包。该程序包集成最新的Apache+PHP+MySQL+phpMyAdmin,一次性安装,无须配置即可使用,是非常方便、好用的PHP调试环境。本次环境使用WNMP,利用windows搭建。

2.下载DVWA,下载地址DVWA - Damn Vulnerable Web Application
将下载的DVWA解压到phpstudy的网页根目录下(本实验我将小皮安装在C盘)

3.创建网页

4.访问127.0.0.1:7777(自己设置的端口)

会出现上面报错
**5.**解决第三步报错,找到DVWA解压到小皮的目录,找到下图文件,将文件config.inc.php.dist后缀去掉改成config.inc.php


**6.**重启phpstudy再次访问网页,可以访问,但是PHP一项出现了disabled,需要将此选项改成enable

修改phpstudy里的php配置文件,将php.ini里面的allow_url_include=off 改成allow_url_include=on
**7.**重启phpstudy,创建或者连接数据库,会提示下面错误

说明数据库连接错位,此时需要修改DVWA连接数据的配置文件,修改成phpstudy上的数据库密码,数据库名和用户


**8.**重启phpstudy,登录网页账户:admin,密码password,进入网页,完成搭建


先自我介绍一下,小编13年上师交大毕业,曾经在小公司待过,去过华为OPPO等大厂,18年进入阿里,直到现在。深知大多数初中级java工程师,想要升技能,往往是需要自己摸索成长或是报班学习,但对于培训机构动则近万元的学费,着实压力不小。自己不成体系的自学效率很低又漫长,而且容易碰到天花板技术停止不前。因此我收集了一份《java开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- VScode+ESP32快速安装ESP-IDF插件
- Error EPERM operation not permitted, mkdir ‘Dsoftwarenodejsnode_cache_cacach两种解决办法
- Unity教程:URP渲染管线实战教程系列【1】
- Win10 CUDA CUDNN 安装配置(torch paddlepaddle)
- MySQL database must add, delete, search and modify operations (CRUD)
- open failed: EACCES (Permission denied)
- [R language] [3] apply, tapply, lapply, sapply, mapply and par function related parameters
- MATLAB/Simulink & & STM32CubeMX tool chain completes model-based design development (MBD) (three)
- ABC D - Distinct Trio(k元组的个数
- .NET-9.乱七八糟的理论笔记(概念,思想)
猜你喜欢

三子棋的代码实现

ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your

Industry landing presents new progress | 2022 OpenAtom Global Open Source Summit OpenAtom OpenHarmony sub-forum was successfully held

MySQL数据库安装配置保姆级教程(以8.0.29为例)有手就行

行业落地呈现新进展 | 2022开放原子全球开源峰会OpenAtom OpenHarmony分论坛圆满召开

【R语言】【3】apply,tapply,lapply,sapply,mapply与par函数相关参数

ERROR 2003 (HY000) Can't connect to MySQL server on 'localhost3306' (10061)
![Summary of Huawei Distributed Storage FusionStorage Knowledge Points [Interview]](/img/83/e0163b324448c6ef5b106862673637.jpg)
Summary of Huawei Distributed Storage FusionStorage Knowledge Points [Interview]

微信小程序使用云函数更新和添加云数据库嵌套数组元素

开放原子开源基金会秘书长孙文龙 | 凝心聚力,共拓开源
随机推荐
Industry-university-research application to build an open source talent ecosystem | 2022 Open Atom Global Open Source Summit Education Sub-Forum was successfully held
unity2d小游戏
qlib架构
ERROR 1819 (HY000) Your password does not satisfy the current policy requirements
.NET-6.WinForm2.NanUI学习和总结
ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your
From scratch, a mirror to the end, a pure system builds a grasscutter (Grasscutter)
WPF WPF 】 【 the depth resolution of the template
The 15th day of the special assault version of the sword offer
Unity框架设计系列:Unity 如何设计网络框架
[C language] Detailed explanation of operators
Industry landing presents new progress | 2022 OpenAtom Global Open Source Summit OpenAtom OpenHarmony sub-forum was successfully held
PWN ROP
MySQL数据库增删改查(基础操作命令详解)
.NET-9.乱七八糟的理论笔记(概念,思想)
Vue项目通过node连接MySQL数据库并实现增删改查操作
Open Source Database Innovation in the Digital Economy Era | 2022 Open Atom Global Open Source Summit Database Sub-Forum Successfully Held
Minesweeper game - C language
MySQL修改root账号密码
open failed: EACCES (Permission denied)