tcp lab almost finished and mitnick lab initialized
This commit is contained in:
71
Tcp/Labsetup/docker-compose.yml
Normal file
71
Tcp/Labsetup/docker-compose.yml
Normal file
@@ -0,0 +1,71 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user