专属
文档
插件
助手
邀请
顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单页面收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题轩辕镜像免费版
其他
关于我们网站地图
热门搜索:
dvwa

cytopia/dvwa

cytopia

DVWA (Damn Vulnerable Web Application) with additional local priv escalation challenges

21 次收藏下载次数: 0状态:社区镜像维护者:cytopia仓库类型:镜像最近更新:3 年前
让 AI 帮你使用轩辕镜像? · 展开查看说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

轩辕镜像,不浪费每一次拉取。点击查看
镜像简介
标签下载
镜像标签列表与下载命令
轩辕镜像,不浪费每一次拉取。点击查看

Dockerized DVWA

Install | Start | Stop | Usage | Features | Configuration | Capture the flag | Tools | FAQ | Sec Tools | License

https://github.com/cytopia/docker-dvwa/workflows/build/badge.svg](https://github.com/cytopia/docker-dvwa/actions?query=workflow%3Abuild) https://github.com/cytopia/docker-dvwa/workflows/nightly/badge.svg](https://github.com/cytopia/docker-dvwa/actions?query=workflow%3Anightly) ![License]([***]

Damn Vulnerable Web Application (DVWA) is a PHP/MySQL web application that is damn vulnerable. Its main goal is to be an aid for security professionals to test their skills and tools in a legal environment, help web developers better understand the processes of securing web applications and to aid both students & teachers to learn about web application security in a controlled class room environment.

https://github.com/digininja/DVWA

https://github.com/digininja/DVWA has an official Docker image available at https://hub.docker.com/r/vulnerables/web-dvwa/, however by the time of writing this image did not receive any recent updates.

If you need an always up-to-date version or arm64 images, you can use the here provided Docker Compose setup. The image is built every night against the latest master branch of the https://github.com/digininja/DVWA and pushed to https://hub.docker.com/r/cytopia/dvwa.

Additionally this Docker image comes with a few CTF challenges that require you to completely compromise the machine and reach root access. Read here for details.

Available Architectures: amd64, arm64

:whale: Available Docker image versions

Rolling releaess

The following Docker image tags are rolling releases and are built and updated every night.

https://github.com/cytopia/docker-dvwa/workflows/nightly/badge.svg](https://github.com/cytopia/docker-dvwa/actions?query=workflow%3Anightly)

Docker TagGit RefPHPAvailable Architectures
latestmasterlatestamd64, arm64
php-8.1master8.1amd64, arm64
php-8.0master8.0amd64, arm64
php-7.4master7.4amd64, arm64
php-7.3master7.3amd64, arm64
php-7.2master7.2amd64, arm64
php-7.1master7.1amd64, arm64
php-7.0master7.0amd64, arm64
php-5.6master5.6amd64, arm64

:tada: Install

Clone repository from GitHub:

bash
git clone https://github.com/cytopia/docker-dvwa

:zap: Start

Inside the cloned repository (docker-dvwa/ directory):

bash
make start

:no_entry_sign: Stop

Inside the cloned repository (docker-dvwa/ directory):

bash
make stop

:computer: Usage

After running make start you can access DVWA in your browser via:

  • Url: http://localhost:8000
  • User: admin
  • Pass: password

:star: Features

  • :whale: - Works out of the box on Linux, MacOS and Windows via Docker
  • :elephant: - Comes in flavours of all common PHP version
  • :pirate_flag: - Enhances DVWA with local exploitation challenges
  • :repeat: - Docker images are https://hub.docker.com/r/cytopia/dvwa against https://github.com/digininja/DVWA master branch
  • :open_file_folder: - Bundles Adminer to inspect the database

:wrench: Configuration

This setup allows you to configure a few settings via the .env file.

VariableDefaultSettings
PHP_VERSION8.1PHP version to run DVWA (5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0 or 8.1)
LISTEN_PORT8000Local port for the web server to listen on
RECAPTCHA_PRIV_KEYRequired to make the captcha module work. (See FAQ section below)
RECAPTCHA_PUB_KEYRequired to make the captcha module work. (See FAQ section below)
PHP_DISPLAY_ERRORS0Set to 1 to display PHP errors (if you want a really easy mode)

The following .env file variables are default settings and their values can also be changed from within the web interface:

VariableDefaultSettings
SECURITY_LEVELmediumAdjust the difficulty level for the challenges[1]
(low, medium, high or impossible)
PHPIDS_ENABLED0Set to 1 to enable PHP WAF/IDS[2] (off by default)
PHPIDS_VERBOSE0Set to 1 to display WAF/IDS reasons for blocked requests

[1] For the SECURITY_LEVEL changes to take effect, you will have to clear your cookies. Alternatively change it in the web interface.
[2] WAF (Web Application Firewall) / IDS (Intrusion Detection System)

:pirate_flag: Capture the flag

Additionally to the default DVWA features, this flavour also contains a few flags that can be captured via various means (including local privilege escalation).

  • Flag 1: flag{b9bbcb33e11b80be759c4e844862482d}
  • Flag 2: flag{fc3fd58dcdad9ab23faca6e9a36e581c}
  • Flag 3: flag{eca7d1f3cf60a8b5344a49287b9076e4}

How to play?

  • :heavy_check_mark: You must gain access to the running Docker container through the web application.
  • :no_entry: You cannot use docker exec -it dvwa_web bash to gain access

Let me know on :bird: *** if you've solved them and how easy/difficult they were.

:gear: Tools

The DVWA Docker image contains the following tools assisting you in solving the challenges and also allowing you to gain access via reverse shells.

  • bash
  • netcat
  • ping
  • sudo
  • telnet
  • python3

:bulb: FAQ

Q: I want to proxy through BurpSuite, but it does not work on localhost or 127.0.0.1.


Browsers ususally bypass localhost or 127.0.0.1 for proxy traffic. One solution is to add an alternative hostname to /etc/hosts and access the application through that.

/etc/hosts:

bash
127.0.0.1  dvwa

Then use [***] in your browser.

Q: How can I run DVWA with a different PHP version?


The here provided Docker images are built against all common PHP versions and you can easily select your version of choice in the https://github.com/cytopia/docker-dvwa/blob/master/.env-example#L1 prior startup. To do so, just uncomment the version of choice and restart the Docker Compose stack:
.env

bash
# PHP VERSION
# -----------
# Uncomment one of the PHP versions you want to use for DVWA
#PHP_VERSION=5.6
#PHP_VERSION=7.0
#PHP_VERSION=7.1
#PHP_VERSION=7.2
#PHP_VERSION=7.3
#PHP_VERSION=7.4
#PHP_VERSION=8.0
PHP_VERSION=8.1
Q: How can I reset the database and start fresh?


The database uses a Docker volume and you can simply remove it via:

bash
# the command below will stop all running container,
# remove their state and delete the MySQL docker volume.
make reset
Q: How can I view Apache access or error log files?


Log files are piped to stderr from the Docker container and you can view them via:

bash
make logs
Q: How can I get a shell on the web server container?


Note: Doing so is basically cheating, you are supposed to gain access to the machine via exploitation.

You can enter the running web server container as root via:

bash
make enter
Q: How do I setup the reCAPTCHA key?


Go to [***] and generate your captcha as shown below:

  • Ensure to choose reCAPTCHA v2
  • Ensure to add all domains you plan on using
  • Add SITE KEY to the RECAPTCHA_PUB_KEY variable in your .env file
  • Add SECRET KEY to the RECAPTCHA_PRIV_KEY variable in your .env file
Q: How can I access/view the MySQL database?


Note: Doing so is basically cheating, but if you really need to, you can do so.

This Docker image bundles Adminer (a PHP web interace similar to phpMyAdmin) and you can access it here: http://localhost:8000/adminer.php

  • Server: dvwa_db
  • Username: root
  • Password: rootpass
Q: How can I build the Docker image locally?


To build or rebuild the Docker image against new updates in https://github.com/digininja/DVWA, simply do the following:

bash
# This is builing the image for the default PHP version
make rebuild

# This is building the image with PHP 8.0
make rebuild PHP=8.0

:rocket: Deployment

AWS

https://github.com/cytopia/docker-dvwa/actions/workflows/terraform.yml/badge.svg](https://github.com/cytopia/docker-dvwa/actions/workflows/terraform.yml)

This repository ships a Terraform module to deploy DVWA on AWS.

bash
cd aws/
cp terraform.tfvars-example terraform.tfvars

terraform init
terraform apply

For more information see Terraform module.

Kubernetes

https://github.com/cytopia/docker-dvwa/actions/workflows/kubernetes.yml/badge.svg](https://github.com/cytopia/docker-dvwa/actions/workflows/kubernetes.yml)

This repository ships Kubernetes resources to deploy DVWA on K8s or minikube.

bash
cd k8s/
kubectl apply -f .

For more information see k8s.

:lock: https://github.com/cytopia sec tools

Below is a list of sec tools and docs I am maintaining, which might come in handy working on DVWA.

NameCategoryLanguageDescription
https://github.com/cytopia/offsecDocumentationMarkdownOffsec checklist, tools and examples
https://github.com/cytopia/header-fuzzEnumerationBashFuzz HTTP headers
https://github.com/cytopia/smtp-user-enumEnumerationPython 2+3SMTP users enumerator
https://github.com/cytopia/urlbusterEnumerationPython 2+3Mutable web directory fuzzer
https://github.com/cytopia/pwncatPivotingPython 2+3Cross-platform netcat on steroids
https://github.com/cytopia/badcharsReverse EngineeringPython 2+3Badchar generator
https://github.com/cytopia/fuzzaReverse EngineeringPython 2+3TCP fuzzing tool

:page_facing_up: License

MIT License

Copyright (c) 2021 https://github.com/cytopia

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 dvwa 镜像标签

docker pull docker.xuanyuan.run/cytopia/dvwa:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull cytopia/dvwa:<标签>

更多 dvwa 镜像推荐

sagikazarmark/dvwa logo

sagikazarmark/dvwa

sagikazarmark
DVWA (Damn Vulnerable Web Application) Docker image
44 次收藏100万+ 次下载
9 年前更新
citizenstig/dvwa logo

citizenstig/dvwa

citizenstig
Docker container for Damn Vulnerable Web Application (DVWA)
77 次收藏10万+ 次下载
8 年前更新
astronaut1712/dvwa logo

astronaut1712/dvwa

astronaut1712
Docker for DVWA LAB: https://github.com/RandomStorm/DVWA
5 次收藏1万+ 次下载
10 年前更新
santosomar/dvwa logo

santosomar/dvwa

santosomar
DVWA Container for Cybersecurity Training
2 次收藏1万+ 次下载
7 年前更新
c0ny1/dvwa logo

c0ny1/dvwa

c0ny1
dvwa镜像
1万+ 次下载
8 年前更新
cyberxsecurity/dvwa logo

cyberxsecurity/dvwa

cyberxsecurity
暂无描述
2 次收藏10万+ 次下载
2 年前更新

查看更多 dvwa 相关镜像

轩辕镜像配置手册

按平台快速找到配置文档

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

iKuai 镜像加速

宝塔面板

一键配置镜像源

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

需要其他帮助?请查看我们的 常见问题 Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

免费版与专业版区别

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

排错

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 请求频率

DNS 超时

DNS 解析 · 网络超时

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
cytopia/dvwa
博客Docker 镜像公告与技术博客
热门查看热门 Docker 镜像推荐
教程轩辕镜像功能与使用教程
安装一键安装 Docker 并配置镜像源
官方公众号:源码跳动|官方技术交流群:13763429
官方公众号:源码跳动|官方技术交流群:|问题咨询请:提交工单
商务合作:点击复制邮箱
©2024-2026 源码跳动
商务合作:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.