-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
83 lines (73 loc) · 1.77 KB
/
docker-compose.yml
File metadata and controls
83 lines (73 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: '3.8'
services:
challs:
image: challs
hostname: challs
container_name: challs
build: ./
ports: [ "80:80" ]
idor:
image: web_idor
hostname: web_idor
container_name: web_idor
build: ./web/idor
ports: [ "42000:3000" ]
command_injection:
image: web_command_injection
hostname: web_command_injection
container_name: web_command_injection
build: ./web/command_injection
ports: [ "42001:80" ]
file_upload:
image: web_file_upload
hostname: web_file_upload
container_name: web_file_upload
build: ./web/file_upload
ports: [ "42002:80" ]
lfi:
image: web_lfi
hostname: web_lfi
container_name: web_lfi
build: ./web/lfi
ports: [ "42003:80" ]
sqli-chall:
image: web_sqli
hostname: web_sqli
container_name: web_sqli
build: ./web/sqli
ports: [ "42004:80" ]
sqli-db:
image: mysql:8.0
hostname: web_sqli_db
container_name: web_sqli_db
volumes:
- ./web/sqli/migration.sql:/docker-entrypoint-initdb.d/migration.sql
environment:
- MYSQL_DATABASE=eits_sqli
- MYSQL_USER=eits_sqli
- MYSQL_PASSWORD=eits_sqli
- MYSQL_RANDOM_ROOT_PASSWORD=yes
ssti:
image: web_ssti
hostname: web_ssti
container_name: web_ssti
build: ./web/ssti
ports: [ "42005:8000" ]
xss:
image: web_xss
hostname: web_xss
container_name: web_xss
build:
context: ./web/xss
ports: [ "42006:3000" ]
ssrf-internal:
image: web_ssrf_internal
hostname: web_ssrf_internal
container_name: web_ssrf_internal
build: ./web/ssrf/interno
ssrf-external:
image: web_ssrf_external
hostname: web_ssrf_external
container_name: web_ssrf_external
build: ./web/ssrf/externo
ports: [ "42007:80" ]