-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (50 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
54 lines (50 loc) · 1.16 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
version: '3'
networks:
cerberus_net:
driver: bridge
ipam:
config:
- subnet: 172.20.0.0/24
services:
# 1. THE GATEWAY (Guacamole)
guacamole:
image: jwetzell/guacamole:latest
container_name: cerberus_gateway
ports:
- "127.0.0.1:8080:8080"
networks:
cerberus_net:
ipv4_address: 172.20.0.2
environment:
- EXT_AUTH=n
- HOME=/config
restart: always
volumes:
- ./config:/config
# 2. THE ATTACKER (Custom Kali Build)
operator:
build: .
container_name: cerberus_operator
privileged: true
tty: true
networks:
cerberus_net:
ipv4_address: 172.20.0.10
cap_add:
- NET_ADMIN
volumes:
- ./cerberus_core:/app
- ./reports:/app/reports
# 3. THE TARGET (Ubuntu)
target:
image: ubuntu:20.04
container_name: cerberus_target
networks:
cerberus_net:
ipv4_address: 172.20.0.20
# ping (iputils-ping) arp (net-tools) on startup then sleep.
command: bash -c "apt-get update && apt-get install -y iputils-ping net-tools && sleep infinity"
privileged: true
restart: always
volumes:
- ./my_project:/app