72 lines
1.6 KiB
YAML
72 lines
1.6 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
attacker:
|
|
image: handsonsecurity/seed-ubuntu:large
|
|
container_name: seed-attacker
|
|
tty: true
|
|
cap_add:
|
|
- ALL
|
|
privileged: true
|
|
volumes:
|
|
- ./volumes:/volumes
|
|
network_mode: host
|
|
|
|
|
|
Victim:
|
|
image: handsonsecurity/seed-ubuntu:large
|
|
container_name: victim-10.9.0.5
|
|
tty: true
|
|
cap_add:
|
|
- ALL
|
|
privileged: true
|
|
sysctls:
|
|
- net.ipv4.tcp_syncookies=0
|
|
|
|
networks:
|
|
net-10.9.0.0:
|
|
ipv4_address: 10.9.0.5
|
|
|
|
command: bash -c "
|
|
/etc/init.d/openbsd-inetd start &&
|
|
tail -f /dev/null
|
|
"
|
|
|
|
User1:
|
|
image: handsonsecurity/seed-ubuntu:large
|
|
container_name: user1-10.9.0.6
|
|
tty: true
|
|
cap_add:
|
|
- ALL
|
|
networks:
|
|
net-10.9.0.0:
|
|
ipv4_address: 10.9.0.6
|
|
|
|
command: bash -c "
|
|
/etc/init.d/openbsd-inetd start &&
|
|
tail -f /dev/null
|
|
"
|
|
|
|
User2:
|
|
image: handsonsecurity/seed-ubuntu:large
|
|
container_name: user2-10.9.0.7
|
|
tty: true
|
|
cap_add:
|
|
- ALL
|
|
networks:
|
|
net-10.9.0.0:
|
|
ipv4_address: 10.9.0.7
|
|
|
|
command: bash -c "
|
|
/etc/init.d/openbsd-inetd start &&
|
|
tail -f /dev/null
|
|
"
|
|
|
|
networks:
|
|
net-10.9.0.0:
|
|
name: net-10.9.0.0
|
|
ipam:
|
|
config:
|
|
- subnet: 10.9.0.0/24
|
|
|