add app dvwa (#2488)
* add dvwa app * fix dvwa app --------- Co-authored-by: kyzhangs <kyzhang@wisedu.com>
This commit is contained in:
parent
e3f6d1788d
commit
6abca0ed1d
|
|
@ -0,0 +1,17 @@
|
||||||
|
# DVWA (Damn Vulnerable Web Application)
|
||||||
|
|
||||||
|
## 默认账户密码
|
||||||
|
|
||||||
|
用户名:`admin`
|
||||||
|
|
||||||
|
密码:`password`
|
||||||
|
|
||||||
|
|
||||||
|
## 中文名:"该死的"不安全的Web应用程序
|
||||||
|
|
||||||
|
DVWA是一个编码差的、易受攻击的 PHP/MySQL Web应用程序。
|
||||||
|
|
||||||
|
### 目的
|
||||||
|
- 帮助信息安全专业人员在合法的环境中,练习技能和测试工具
|
||||||
|
- 帮助 Web 开发人员更好地了解如何加强 Web 应用程序的安全性
|
||||||
|
- 帮助学生和教师在可控的教学环境中了解和学习 Web 安全技术
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: DVWA
|
||||||
|
tags:
|
||||||
|
- 安全
|
||||||
|
title: DVWA
|
||||||
|
description: 一个用来进行安全脆弱性鉴定的PHP/MySQL Web 应用平台。
|
||||||
|
additionalProperties:
|
||||||
|
key: dvwa
|
||||||
|
name: DVWA
|
||||||
|
tags:
|
||||||
|
- Security
|
||||||
|
shortDescZh: 一个用来进行安全脆弱性鉴定的PHP/MySQL Web 应用平台。
|
||||||
|
shortDescEn: DVWA (Damn Vulnerable Web Application)
|
||||||
|
type: security
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 10
|
||||||
|
website: https://github.com/digininja/DVWA
|
||||||
|
github: https://github.com/digininja/DVWA
|
||||||
|
document: https://github.com/digininja/DVWA
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- child:
|
||||||
|
default: ""
|
||||||
|
envKey: PANEL_DB_HOST
|
||||||
|
required: true
|
||||||
|
type: service
|
||||||
|
default: mariadb
|
||||||
|
envKey: PANEL_DB_TYPE
|
||||||
|
labelEn: Database Service
|
||||||
|
labelZh: 数据库服务
|
||||||
|
required: true
|
||||||
|
type: apps
|
||||||
|
values:
|
||||||
|
- label: MariaDB
|
||||||
|
value: mariadb
|
||||||
|
- label: MySQL
|
||||||
|
value: mysql
|
||||||
|
- default: dvwa
|
||||||
|
envKey: PANEL_DB_NAME
|
||||||
|
labelEn: Database
|
||||||
|
labelZh: 数据库名
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: dvwa
|
||||||
|
envKey: PANEL_DB_USER
|
||||||
|
labelEn: User
|
||||||
|
labelZh: 数据库用户
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: p@ssw0rd
|
||||||
|
envKey: PANEL_DB_USER_PASSWORD
|
||||||
|
labelEn: Password
|
||||||
|
labelZh: 数据库用户密码
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
- default: "low"
|
||||||
|
envKey: DVWA_SECURITY_LEVEL
|
||||||
|
labelEn: Security level
|
||||||
|
labelZh: 安全级别
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 低
|
||||||
|
value: "low"
|
||||||
|
- label: 中
|
||||||
|
value: "medium"
|
||||||
|
- label: 高
|
||||||
|
value: "high"
|
||||||
|
- label: 极高
|
||||||
|
value: "impossible"
|
||||||
|
- default: "zh"
|
||||||
|
envKey: DVWA_DEFAULT_LOCALE
|
||||||
|
labelEn: Locale
|
||||||
|
labelZh: 语言环境
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 中文
|
||||||
|
value: "zh"
|
||||||
|
- label: 英文
|
||||||
|
value: "en"
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: DVWA_RECAPTCHA_PUBLIC_KEY
|
||||||
|
labelEn: Recaptcha Public Key
|
||||||
|
labelZh: 验证码公钥
|
||||||
|
required: false
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: DVWA_RECAPTCHA_PRIVATE_KEY
|
||||||
|
labelEn: Recaptcha Private Key
|
||||||
|
labelZh: 验证码私钥
|
||||||
|
required: false
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: "4280"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
services:
|
||||||
|
dvwa:
|
||||||
|
image: ghcr.io/digininja/dvwa:latest
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:80
|
||||||
|
environment:
|
||||||
|
- DB_SERVER=${PANEL_DB_HOST}
|
||||||
|
- DB_PORT=${PANEL_DB_PORT}
|
||||||
|
- DB_DATABASE=${PANEL_DB_NAME}
|
||||||
|
- DB_USER=${PANEL_DB_USER}
|
||||||
|
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
||||||
|
- DEFAULT_SECURITY_LEVEL=${DVWA_SECURITY_LEVEL}
|
||||||
|
- RECAPTCHA_PUBLIC_KEY=${DVWA_RECAPTCHA_PUBLIC_KEY}
|
||||||
|
- RECAPTCHA_PRIVATE_KEY=${DVWA_RECAPTCHA_PRIVATE_KEY}
|
||||||
|
- DEFAULT_LOCALE=${DVWA_DEFAULT_LOCALE}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 7.1 KiB |
Loading…
Reference in New Issue