main
1version: '3.2'
2
3networks:
4 internet:
5 driver: bridge
6 ipam:
7 driver: default
8 config:
9 - subnet: 200.200.200.0/24
10 novice:
11 driver: bridge
12 ipam:
13 driver: default
14 config:
15 - subnet: 172.16.2.0/24
16 expert:
17 driver: bridge
18 ipam:
19 driver: default
20 config:
21 - subnet: 10.10.10.0/24
22 master:
23 driver: bridge
24 ipam:
25 driver: default
26 config:
27 - subnet: 192.168.200.0/24
28
29services:
30 server_3:
31 build: docker/ssh/server_3
32 image: sshd_server3
33 restart: always
34 hostname: server_3
35 networks:
36 master:
37 ipv4_address: 192.168.200.201
38 volumes:
39 - type: bind
40 source: ./docker/files/server_3/bharmon.pub
41 target: /home/bharmon/.ssh/authorized_keys
42 read_only: True
43 volume:
44 nocopy: True
45 - type: bind
46 source: ./docker/files/server_3/nope.sh
47 target: /bin/nope
48 volume:
49 mode: "rx"
50 nocopy: True
51
52 server_2:
53 build: docker/ssh/server_2
54 image: sshd_server2
55 restart: always
56 hostname: server_2
57 networks:
58 expert:
59 ipv4_address: 10.10.10.109
60 master:
61 ipv4_address: 192.168.200.2
62 volumes:
63 - type: bind
64 source: ./docker/files/server_2/hmelling.pub
65 target: /home/hmelling/.ssh/authorized_keys
66 read_only: True
67 volume:
68 nocopy: True
69 - type: bind
70 source: ./docker/files/server_2/nope.sh
71 target: /bin/nope
72 volume:
73 mode: "rx"
74 nocopy: True
75
76 server_1:
77 build: docker/ssh/port_2222
78 image: sshd_port_2222
79 restart: always
80 hostname: server_1
81 networks:
82 novice:
83 ipv4_address: 172.16.2.31
84 expert:
85 ipv4_address: 10.10.10.2
86 volumes:
87 - type: bind
88 source: ./docker/files/server_1/wshaibel.pub
89 target: /home/wshaibel/.ssh/authorized_keys
90 read_only: True
91 volume:
92 nocopy: True
93 - type: bind
94 source: ./docker/files/server_1/motd
95 target: /etc/motd
96 read_only: True
97 volume:
98 nocopy: True
99 - type: bind
100 source: ./docker/files/server_1/evidence_found_lens.enc
101 target: /home/wshaibel/evidence_found_lens.enc
102 read_only: True
103 volume:
104 nocopy: True
105
106 router_firewall:
107 build: docker/ssh/user_admin
108 image: sshd_user_admin
109 restart: always
110 hostname: router_firewall
111 networks:
112 internet:
113 ipv4_address: 200.200.200.111
114 novice:
115 ipv4_address: 172.16.2.2
116 volumes:
117 - type: bind
118 source: ./docker/files/router_firewall/admin.pub
119 target: /home/admin/.ssh/authorized_keys
120 read_only: True
121 volume:
122 nocopy: True
123 - type: bind
124 source: ./docker/files/router_firewall/nope.sh
125 target: /bin/nope
126 volume:
127 mode: "rx"
128 nocopy: True
129
130# 40 redirectors
131 redirector01:
132 build: docker/ssh/port_1337
133 image: sshd_port_1337
134 restart: always
135 hostname: r1337
136 networks:
137 internet:
138 ipv4_address: 200.200.200.132
139 volumes:
140 - type: bind
141 source: ./docker/files/redirector/flag1.txt
142 target: /root/flag.txt
143 read_only: True
144 volume:
145 nocopy: True
146 - type: bind
147 source: ./docker/files/redirector/flag2.txt
148 target: /tmp/flag.txt
149 read_only: True
150 volume:
151 nocopy: True
152 redirector02:
153 build: docker/ssh/port_1337
154 image: sshd_port_1337
155 restart: always
156 hostname: r1337
157 networks:
158 internet:
159 ipv4_address: 200.200.200.177
160 volumes:
161 - type: bind
162 source: ./docker/files/redirector/flag1.txt
163 target: /root/flag.txt
164 read_only: True
165 volume:
166 nocopy: True
167 - type: bind
168 source: ./docker/files/redirector/flag2.txt
169 target: /tmp/flag.txt
170 read_only: True
171 volume:
172 nocopy: True
173 redirector03:
174 build: docker/ssh/port_1337
175 image: sshd_port_1337
176 restart: always
177 hostname: r1337
178 networks:
179 internet:
180 ipv4_address: 200.200.200.197
181 volumes:
182 - type: bind
183 source: ./docker/files/redirector/flag1.txt
184 target: /root/flag.txt
185 read_only: True
186 volume:
187 nocopy: True
188 - type: bind
189 source: ./docker/files/redirector/flag2.txt
190 target: /tmp/flag.txt
191 read_only: True
192 volume:
193 nocopy: True
194 redirector04:
195 build: docker/ssh/port_1337
196 image: sshd_port_1337
197 restart: always
198 hostname: r1337
199 networks:
200 internet:
201 ipv4_address: 200.200.200.30
202 volumes:
203 - type: bind
204 source: ./docker/files/redirector/flag1.txt
205 target: /root/flag.txt
206 read_only: True
207 volume:
208 nocopy: True
209 - type: bind
210 source: ./docker/files/redirector/flag2.txt
211 target: /tmp/flag.txt
212 read_only: True
213 volume:
214 nocopy: True
215 redirector05:
216 build: docker/ssh/port_1337
217 image: sshd_port_1337
218 restart: always
219 hostname: r1337
220 networks:
221 internet:
222 ipv4_address: 200.200.200.186
223 volumes:
224 - type: bind
225 source: ./docker/files/redirector/flag1.txt
226 target: /root/flag.txt
227 read_only: True
228 volume:
229 nocopy: True
230 - type: bind
231 source: ./docker/files/redirector/flag2.txt
232 target: /tmp/flag.txt
233 read_only: True
234 volume:
235 nocopy: True
236 redirector06:
237 build: docker/ssh/port_1337
238 image: sshd_port_1337
239 restart: always
240 hostname: r1337
241 networks:
242 internet:
243 ipv4_address: 200.200.200.118
244 volumes:
245 - type: bind
246 source: ./docker/files/redirector/flag1.txt
247 target: /root/flag.txt
248 read_only: True
249 volume:
250 nocopy: True
251 - type: bind
252 source: ./docker/files/redirector/flag2.txt
253 target: /tmp/flag.txt
254 read_only: True
255 volume:
256 nocopy: True
257 redirector07:
258 build: docker/ssh/port_1337
259 image: sshd_port_1337
260 restart: always
261 hostname: r1337
262 networks:
263 internet:
264 ipv4_address: 200.200.200.215
265 volumes:
266 - type: bind
267 source: ./docker/files/redirector/flag1.txt
268 target: /root/flag.txt
269 read_only: True
270 volume:
271 nocopy: True
272 - type: bind
273 source: ./docker/files/redirector/flag2.txt
274 target: /tmp/flag.txt
275 read_only: True
276 volume:
277 nocopy: True
278 redirector08:
279 build: docker/ssh/port_1337
280 image: sshd_port_1337
281 restart: always
282 hostname: r1337
283 networks:
284 internet:
285 ipv4_address: 200.200.200.25
286 volumes:
287 - type: bind
288 source: ./docker/files/redirector/flag1.txt
289 target: /root/flag.txt
290 read_only: True
291 volume:
292 nocopy: True
293 - type: bind
294 source: ./docker/files/redirector/flag2.txt
295 target: /tmp/flag.txt
296 read_only: True
297 volume:
298 nocopy: True
299 redirector09:
300 build: docker/ssh/port_1337
301 image: sshd_port_1337
302 restart: always
303 hostname: r1337
304 networks:
305 internet:
306 ipv4_address: 200.200.200.232
307 volumes:
308 - type: bind
309 source: ./docker/files/redirector/flag1.txt
310 target: /root/flag.txt
311 read_only: True
312 volume:
313 nocopy: True
314 - type: bind
315 source: ./docker/files/redirector/flag2.txt
316 target: /tmp/flag.txt
317 read_only: True
318 volume:
319 nocopy: True
320 redirector10:
321 build: docker/ssh/port_1337
322 image: sshd_port_1337
323 restart: always
324 hostname: r1337
325 networks:
326 internet:
327 ipv4_address: 200.200.200.103
328 volumes:
329 - type: bind
330 source: ./docker/files/redirector/flag1.txt
331 target: /root/flag.txt
332 read_only: True
333 volume:
334 nocopy: True
335 - type: bind
336 source: ./docker/files/redirector/flag2.txt
337 target: /tmp/flag.txt
338 read_only: True
339 volume:
340 nocopy: True
341 redirector11:
342 build: docker/ssh/port_1337
343 image: sshd_port_1337
344 restart: always
345 hostname: r1337
346 networks:
347 internet:
348 ipv4_address: 200.200.200.202
349 volumes:
350 - type: bind
351 source: ./docker/files/redirector/flag1.txt
352 target: /root/flag.txt
353 read_only: True
354 volume:
355 nocopy: True
356 - type: bind
357 source: ./docker/files/redirector/flag2.txt
358 target: /tmp/flag.txt
359 read_only: True
360 volume:
361 nocopy: True
362 redirector12:
363 build: docker/ssh/port_1337
364 image: sshd_port_1337
365 restart: always
366 hostname: r1337
367 networks:
368 internet:
369 ipv4_address: 200.200.200.67
370 volumes:
371 - type: bind
372 source: ./docker/files/redirector/flag1.txt
373 target: /root/flag.txt
374 read_only: True
375 volume:
376 nocopy: True
377 - type: bind
378 source: ./docker/files/redirector/flag2.txt
379 target: /tmp/flag.txt
380 read_only: True
381 volume:
382 nocopy: True
383 redirector13:
384 build: docker/ssh/port_1337
385 image: sshd_port_1337
386 restart: always
387 hostname: r1337
388 networks:
389 internet:
390 ipv4_address: 200.200.200.152
391 volumes:
392 - type: bind
393 source: ./docker/files/redirector/flag1.txt
394 target: /root/flag.txt
395 read_only: True
396 volume:
397 nocopy: True
398 - type: bind
399 source: ./docker/files/redirector/flag2.txt
400 target: /tmp/flag.txt
401 read_only: True
402 volume:
403 nocopy: True
404 redirector14:
405 build: docker/ssh/port_1337
406 image: sshd_port_1337
407 restart: always
408 hostname: r1337
409 networks:
410 internet:
411 ipv4_address: 200.200.200.131
412 volumes:
413 - type: bind
414 source: ./docker/files/redirector/flag1.txt
415 target: /root/flag.txt
416 read_only: True
417 volume:
418 nocopy: True
419 - type: bind
420 source: ./docker/files/redirector/flag2.txt
421 target: /tmp/flag.txt
422 read_only: True
423 volume:
424 nocopy: True
425 redirector15:
426 build: docker/ssh/port_1337
427 image: sshd_port_1337
428 restart: always
429 hostname: r1337
430 networks:
431 internet:
432 ipv4_address: 200.200.200.42
433 volumes:
434 - type: bind
435 source: ./docker/files/redirector/flag1.txt
436 target: /root/flag.txt
437 read_only: True
438 volume:
439 nocopy: True
440 - type: bind
441 source: ./docker/files/redirector/flag2.txt
442 target: /tmp/flag.txt
443 read_only: True
444 volume:
445 nocopy: True
446 redirector16:
447 build: docker/ssh/port_1337
448 image: sshd_port_1337
449 restart: always
450 hostname: r1337
451 networks:
452 internet:
453 ipv4_address: 200.200.200.178
454 volumes:
455 - type: bind
456 source: ./docker/files/redirector/flag1.txt
457 target: /root/flag.txt
458 read_only: True
459 volume:
460 nocopy: True
461 - type: bind
462 source: ./docker/files/redirector/flag2.txt
463 target: /tmp/flag.txt
464 read_only: True
465 volume:
466 nocopy: True
467 redirector17:
468 build: docker/ssh/port_1337
469 image: sshd_port_1337
470 restart: always
471 hostname: r1337
472 networks:
473 internet:
474 ipv4_address: 200.200.200.49
475 volumes:
476 - type: bind
477 source: ./docker/files/redirector/flag1.txt
478 target: /root/flag.txt
479 read_only: True
480 volume:
481 nocopy: True
482 - type: bind
483 source: ./docker/files/redirector/flag2.txt
484 target: /tmp/flag.txt
485 read_only: True
486 volume:
487 nocopy: True
488 redirector18:
489 build: docker/ssh/port_1337
490 image: sshd_port_1337
491 restart: always
492 hostname: r1337
493 networks:
494 internet:
495 ipv4_address: 200.200.200.245
496 volumes:
497 - type: bind
498 source: ./docker/files/redirector/flag1.txt
499 target: /root/flag.txt
500 read_only: True
501 volume:
502 nocopy: True
503 - type: bind
504 source: ./docker/files/redirector/flag2.txt
505 target: /tmp/flag.txt
506 read_only: True
507 volume:
508 nocopy: True
509 redirector19:
510 build: docker/ssh/port_1337
511 image: sshd_port_1337
512 restart: always
513 hostname: r1337
514 networks:
515 internet:
516 ipv4_address: 200.200.200.219
517 volumes:
518 - type: bind
519 source: ./docker/files/redirector/flag1.txt
520 target: /root/flag.txt
521 read_only: True
522 volume:
523 nocopy: True
524 - type: bind
525 source: ./docker/files/redirector/flag2.txt
526 target: /tmp/flag.txt
527 read_only: True
528 volume:
529 nocopy: True
530 redirector20:
531 build: docker/ssh/port_1337
532 image: sshd_port_1337
533 restart: always
534 hostname: r1337
535 networks:
536 internet:
537 ipv4_address: 200.200.200.121
538 volumes:
539 - type: bind
540 source: ./docker/files/redirector/flag1.txt
541 target: /root/flag.txt
542 read_only: True
543 volume:
544 nocopy: True
545 - type: bind
546 source: ./docker/files/redirector/flag2.txt
547 target: /tmp/flag.txt
548 read_only: True
549 volume:
550 nocopy: True
551 redirector21:
552 build: docker/ssh/port_1337
553 image: sshd_port_1337
554 restart: always
555 hostname: r1337
556 networks:
557 internet:
558 ipv4_address: 200.200.200.250
559 volumes:
560 - type: bind
561 source: ./docker/files/redirector/flag1.txt
562 target: /root/flag.txt
563 read_only: True
564 volume:
565 nocopy: True
566 - type: bind
567 source: ./docker/files/redirector/flag2.txt
568 target: /tmp/flag.txt
569 read_only: True
570 volume:
571 nocopy: True
572 redirector22:
573 build: docker/ssh/port_1337
574 image: sshd_port_1337
575 restart: always
576 hostname: r1337
577 networks:
578 internet:
579 ipv4_address: 200.200.200.99
580 volumes:
581 - type: bind
582 source: ./docker/files/redirector/flag1.txt
583 target: /root/flag.txt
584 read_only: True
585 volume:
586 nocopy: True
587 - type: bind
588 source: ./docker/files/redirector/flag2.txt
589 target: /tmp/flag.txt
590 read_only: True
591 volume:
592 nocopy: True
593 redirector23:
594 build: docker/ssh/port_1337
595 image: sshd_port_1337
596 restart: always
597 hostname: r1337
598 networks:
599 internet:
600 ipv4_address: 200.200.200.240
601 volumes:
602 - type: bind
603 source: ./docker/files/redirector/flag1.txt
604 target: /root/flag.txt
605 read_only: True
606 volume:
607 nocopy: True
608 - type: bind
609 source: ./docker/files/redirector/flag2.txt
610 target: /tmp/flag.txt
611 read_only: True
612 volume:
613 nocopy: True
614 redirector24:
615 build: docker/ssh/port_1337
616 image: sshd_port_1337
617 restart: always
618 hostname: r1337
619 networks:
620 internet:
621 ipv4_address: 200.200.200.229
622 volumes:
623 - type: bind
624 source: ./docker/files/redirector/flag1.txt
625 target: /root/flag.txt
626 read_only: True
627 volume:
628 nocopy: True
629 - type: bind
630 source: ./docker/files/redirector/flag2.txt
631 target: /tmp/flag.txt
632 read_only: True
633 volume:
634 nocopy: True
635 redirector25:
636 build: docker/ssh/port_1337
637 image: sshd_port_1337
638 restart: always
639 hostname: r1337
640 networks:
641 internet:
642 ipv4_address: 200.200.200.38
643 volumes:
644 - type: bind
645 source: ./docker/files/redirector/flag1.txt
646 target: /root/flag.txt
647 read_only: True
648 volume:
649 nocopy: True
650 - type: bind
651 source: ./docker/files/redirector/flag2.txt
652 target: /tmp/flag.txt
653 read_only: True
654 volume:
655 nocopy: True
656 redirector26:
657 build: docker/ssh/port_1337
658 image: sshd_port_1337
659 restart: always
660 hostname: r1337
661 networks:
662 internet:
663 ipv4_address: 200.200.200.134
664 volumes:
665 - type: bind
666 source: ./docker/files/redirector/flag1.txt
667 target: /root/flag.txt
668 read_only: True
669 volume:
670 nocopy: True
671 - type: bind
672 source: ./docker/files/redirector/flag2.txt
673 target: /tmp/flag.txt
674 read_only: True
675 volume:
676 nocopy: True
677 redirector27:
678 build: docker/ssh/port_1337
679 image: sshd_port_1337
680 restart: always
681 hostname: r1337
682 networks:
683 internet:
684 ipv4_address: 200.200.200.199
685 volumes:
686 - type: bind
687 source: ./docker/files/redirector/flag1.txt
688 target: /root/flag.txt
689 read_only: True
690 volume:
691 nocopy: True
692 - type: bind
693 source: ./docker/files/redirector/flag2.txt
694 target: /tmp/flag.txt
695 read_only: True
696 volume:
697 nocopy: True
698 redirector28:
699 build: docker/ssh/port_1337
700 image: sshd_port_1337
701 restart: always
702 hostname: r1337
703 networks:
704 internet:
705 ipv4_address: 200.200.200.130
706 volumes:
707 - type: bind
708 source: ./docker/files/redirector/flag1.txt
709 target: /root/flag.txt
710 read_only: True
711 volume:
712 nocopy: True
713 - type: bind
714 source: ./docker/files/redirector/flag2.txt
715 target: /tmp/flag.txt
716 read_only: True
717 volume:
718 nocopy: True
719 redirector29:
720 build: docker/ssh/port_1337
721 image: sshd_port_1337
722 restart: always
723 hostname: r1337
724 networks:
725 internet:
726 ipv4_address: 200.200.200.217
727 volumes:
728 - type: bind
729 source: ./docker/files/redirector/flag1.txt
730 target: /root/flag.txt
731 read_only: True
732 volume:
733 nocopy: True
734 - type: bind
735 source: ./docker/files/redirector/flag2.txt
736 target: /tmp/flag.txt
737 read_only: True
738 volume:
739 nocopy: True
740 redirector30:
741 build: docker/ssh/port_1337
742 image: sshd_port_1337
743 restart: always
744 hostname: r1337
745 networks:
746 internet:
747 ipv4_address: 200.200.200.252
748 volumes:
749 - type: bind
750 source: ./docker/files/redirector/flag1.txt
751 target: /root/flag.txt
752 read_only: True
753 volume:
754 nocopy: True
755 - type: bind
756 source: ./docker/files/redirector/flag2.txt
757 target: /tmp/flag.txt
758 read_only: True
759 volume:
760 nocopy: True
761 redirector31:
762 build: docker/ssh/port_1337
763 image: sshd_port_1337
764 restart: always
765 hostname: r1337
766 networks:
767 internet:
768 ipv4_address: 200.200.200.50
769 volumes:
770 - type: bind
771 source: ./docker/files/redirector/flag1.txt
772 target: /root/flag.txt
773 read_only: True
774 volume:
775 nocopy: True
776 - type: bind
777 source: ./docker/files/redirector/flag2.txt
778 target: /tmp/flag.txt
779 read_only: True
780 volume:
781 nocopy: True
782 redirector32:
783 build: docker/ssh/port_1337
784 image: sshd_port_1337
785 restart: always
786 hostname: r1337
787 networks:
788 internet:
789 ipv4_address: 200.200.200.100
790 volumes:
791 - type: bind
792 source: ./docker/files/redirector/flag1.txt
793 target: /root/flag.txt
794 read_only: True
795 volume:
796 nocopy: True
797 - type: bind
798 source: ./docker/files/redirector/flag2.txt
799 target: /tmp/flag.txt
800 read_only: True
801 volume:
802 nocopy: True
803 redirector33:
804 build: docker/ssh/port_1337
805 image: sshd_port_1337
806 restart: always
807 hostname: r1337
808 networks:
809 internet:
810 ipv4_address: 200.200.200.52
811 volumes:
812 - type: bind
813 source: ./docker/files/redirector/flag1.txt
814 target: /root/flag.txt
815 read_only: True
816 volume:
817 nocopy: True
818 - type: bind
819 source: ./docker/files/redirector/flag2.txt
820 target: /tmp/flag.txt
821 read_only: True
822 volume:
823 nocopy: True
824 redirector34:
825 build: docker/ssh/port_1337
826 image: sshd_port_1337
827 restart: always
828 hostname: r1337
829 networks:
830 internet:
831 ipv4_address: 200.200.200.171
832 volumes:
833 - type: bind
834 source: ./docker/files/redirector/flag1.txt
835 target: /root/flag.txt
836 read_only: True
837 volume:
838 nocopy: True
839 - type: bind
840 source: ./docker/files/redirector/flag2.txt
841 target: /tmp/flag.txt
842 read_only: True
843 volume:
844 nocopy: True
845 redirector35:
846 build: docker/ssh/port_1337
847 image: sshd_port_1337
848 restart: always
849 hostname: r1337
850 networks:
851 internet:
852 ipv4_address: 200.200.200.151
853 volumes:
854 - type: bind
855 source: ./docker/files/redirector/flag1.txt
856 target: /root/flag.txt
857 read_only: True
858 volume:
859 nocopy: True
860 - type: bind
861 source: ./docker/files/redirector/flag2.txt
862 target: /tmp/flag.txt
863 read_only: True
864 volume:
865 nocopy: True
866 redirector36:
867 build: docker/ssh/port_1337
868 image: sshd_port_1337
869 restart: always
870 hostname: r1337
871 networks:
872 internet:
873 ipv4_address: 200.200.200.230
874 volumes:
875 - type: bind
876 source: ./docker/files/redirector/flag1.txt
877 target: /root/flag.txt
878 read_only: True
879 volume:
880 nocopy: True
881 - type: bind
882 source: ./docker/files/redirector/flag2.txt
883 target: /tmp/flag.txt
884 read_only: True
885 volume:
886 nocopy: True
887 redirector37:
888 build: docker/ssh/port_1337
889 image: sshd_port_1337
890 restart: always
891 hostname: r1337
892 networks:
893 internet:
894 ipv4_address: 200.200.200.120
895 volumes:
896 - type: bind
897 source: ./docker/files/redirector/flag1.txt
898 target: /root/flag.txt
899 read_only: True
900 volume:
901 nocopy: True
902 - type: bind
903 source: ./docker/files/redirector/flag2.txt
904 target: /tmp/flag.txt
905 read_only: True
906 volume:
907 nocopy: True
908 redirector38:
909 build: docker/ssh/port_1337
910 image: sshd_port_1337
911 restart: always
912 hostname: r1337
913 networks:
914 internet:
915 ipv4_address: 200.200.200.36
916 volumes:
917 - type: bind
918 source: ./docker/files/redirector/flag1.txt
919 target: /root/flag.txt
920 read_only: True
921 volume:
922 nocopy: True
923 - type: bind
924 source: ./docker/files/redirector/flag2.txt
925 target: /tmp/flag.txt
926 read_only: True
927 volume:
928 nocopy: True
929 redirector39:
930 build: docker/ssh/port_1337
931 image: sshd_port_1337
932 restart: always
933 hostname: r1337
934 networks:
935 internet:
936 ipv4_address: 200.200.200.51
937 volumes:
938 - type: bind
939 source: ./docker/files/redirector/flag1.txt
940 target: /root/flag.txt
941 read_only: True
942 volume:
943 nocopy: True
944 - type: bind
945 source: ./docker/files/redirector/flag2.txt
946 target: /tmp/flag.txt
947 read_only: True
948 volume:
949 nocopy: True
950 redirector40:
951 build: docker/ssh/port_1337
952 image: sshd_port_1337
953 restart: always
954 hostname: r1337
955 networks:
956 internet:
957 ipv4_address: 200.200.200.145
958 volumes:
959 - type: bind
960 source: ./docker/files/redirector/flag1.txt
961 target: /root/flag.txt
962 read_only: True
963 volume:
964 nocopy: True
965 - type: bind
966 source: ./docker/files/redirector/flag2.txt
967 target: /tmp/flag.txt
968 read_only: True
969 volume:
970 nocopy: True
971
972# 20 beachheads
973 bchd1:
974 image: gotty
975 build: docker/gotty
976 restart: always
977 hostname: bchd_01
978 networks:
979 - internet
980 ports:
981 - 2001:8080
982 volumes:
983 - type: bind
984 source: ./docker/files/bchd/flag.txt
985 target: /root/flag.txt
986 read_only: True
987 volume:
988 nocopy: True
989 - type: bind
990 source: ./docker/files/bchd/map.txt
991 target: /map.txt
992 read_only: True
993 volume:
994 nocopy: True
995 bchd2:
996 image: gotty
997 build: docker/gotty
998 restart: always
999 hostname: bchd_02
1000 networks:
1001 - internet
1002 ports:
1003 - 2002:8080
1004 volumes:
1005 - type: bind
1006 source: ./docker/files/bchd/flag.txt
1007 target: /root/flag.txt
1008 read_only: True
1009 volume:
1010 nocopy: True
1011 - type: bind
1012 source: ./docker/files/bchd/map.txt
1013 target: /map.txt
1014 read_only: True
1015 volume:
1016 nocopy: True
1017 bchd3:
1018 image: gotty
1019 build: docker/gotty
1020 restart: always
1021 hostname: bchd_03
1022 networks:
1023 - internet
1024 ports:
1025 - 2003:8080
1026 volumes:
1027 - type: bind
1028 source: ./docker/files/bchd/flag.txt
1029 target: /root/flag.txt
1030 read_only: True
1031 volume:
1032 nocopy: True
1033 - type: bind
1034 source: ./docker/files/bchd/map.txt
1035 target: /map.txt
1036 read_only: True
1037 volume:
1038 nocopy: True
1039 bchd4:
1040 image: gotty
1041 build: docker/gotty
1042 restart: always
1043 hostname: bchd_04
1044 networks:
1045 - internet
1046 ports:
1047 - 2004:8080
1048 volumes:
1049 - type: bind
1050 source: ./docker/files/bchd/flag.txt
1051 target: /root/flag.txt
1052 read_only: True
1053 volume:
1054 nocopy: True
1055 - type: bind
1056 source: ./docker/files/bchd/map.txt
1057 target: /map.txt
1058 read_only: True
1059 volume:
1060 nocopy: True
1061 bchd5:
1062 image: gotty
1063 build: docker/gotty
1064 restart: always
1065 hostname: bchd_05
1066 networks:
1067 - internet
1068 ports:
1069 - 2005:8080
1070 volumes:
1071 - type: bind
1072 source: ./docker/files/bchd/flag.txt
1073 target: /root/flag.txt
1074 read_only: True
1075 volume:
1076 nocopy: True
1077 - type: bind
1078 source: ./docker/files/bchd/map.txt
1079 target: /map.txt
1080 read_only: True
1081 volume:
1082 nocopy: True
1083 bchd6:
1084 image: gotty
1085 build: docker/gotty
1086 restart: always
1087 hostname: bchd_06
1088 networks:
1089 - internet
1090 ports:
1091 - 2006:8080
1092 volumes:
1093 - type: bind
1094 source: ./docker/files/bchd/flag.txt
1095 target: /root/flag.txt
1096 read_only: True
1097 volume:
1098 nocopy: True
1099 - type: bind
1100 source: ./docker/files/bchd/map.txt
1101 read_only: True
1102 target: /map.txt
1103 volume:
1104 nocopy: True
1105 bchd7:
1106 image: gotty
1107 build: docker/gotty
1108 restart: always
1109 hostname: bchd_07
1110 networks:
1111 - internet
1112 ports:
1113 - 2007:8080
1114 volumes:
1115 - type: bind
1116 source: ./docker/files/bchd/flag.txt
1117 target: /root/flag.txt
1118 read_only: True
1119 volume:
1120 nocopy: True
1121 - type: bind
1122 source: ./docker/files/bchd/map.txt
1123 target: /map.txt
1124 read_only: True
1125 volume:
1126 nocopy: True
1127 bchd8:
1128 image: gotty
1129 build: docker/gotty
1130 restart: always
1131 hostname: bchd_08
1132 networks:
1133 - internet
1134 ports:
1135 - 2008:8080
1136 volumes:
1137 - type: bind
1138 source: ./docker/files/bchd/flag.txt
1139 target: /root/flag.txt
1140 read_only: True
1141 volume:
1142 nocopy: True
1143 - type: bind
1144 source: ./docker/files/bchd/map.txt
1145 target: /map.txt
1146 read_only: True
1147 volume:
1148 nocopy: True
1149 bchd9:
1150 image: gotty
1151 build: docker/gotty
1152 restart: always
1153 hostname: bchd_09
1154 networks:
1155 - internet
1156 ports:
1157 - 2009:8080
1158 volumes:
1159 - type: bind
1160 source: ./docker/files/bchd/flag.txt
1161 target: /root/flag.txt
1162 read_only: True
1163 volume:
1164 nocopy: True
1165 - type: bind
1166 source: ./docker/files/bchd/map.txt
1167 target: /map.txt
1168 read_only: True
1169 volume:
1170 nocopy: True
1171 bchd10:
1172 image: gotty
1173 build: docker/gotty
1174 restart: always
1175 hostname: bchd_10
1176 networks:
1177 - internet
1178 ports:
1179 - 2010:8080
1180 volumes:
1181 - type: bind
1182 source: ./docker/files/bchd/flag.txt
1183 target: /root/flag.txt
1184 read_only: True
1185 volume:
1186 nocopy: True
1187 - type: bind
1188 source: ./docker/files/bchd/map.txt
1189 target: /map.txt
1190 read_only: True
1191 volume:
1192 nocopy: True
1193 bchd11:
1194 image: gotty
1195 build: docker/gotty
1196 restart: always
1197 hostname: bchd_11
1198 networks:
1199 - internet
1200 ports:
1201 - 2011:8080
1202 volumes:
1203 - type: bind
1204 source: ./docker/files/bchd/flag.txt
1205 target: /root/flag.txt
1206 read_only: True
1207 volume:
1208 nocopy: True
1209 - type: bind
1210 source: ./docker/files/bchd/map.txt
1211 target: /map.txt
1212 read_only: True
1213 volume:
1214 nocopy: True
1215 bchd12:
1216 image: gotty
1217 build: docker/gotty
1218 restart: always
1219 hostname: bchd_12
1220 networks:
1221 - internet
1222 ports:
1223 - 2012:8080
1224 volumes:
1225 - type: bind
1226 source: ./docker/files/bchd/flag.txt
1227 target: /root/flag.txt
1228 read_only: True
1229 volume:
1230 nocopy: True
1231 - type: bind
1232 source: ./docker/files/bchd/map.txt
1233 target: /map.txt
1234 read_only: True
1235 volume:
1236 nocopy: True
1237 bchd13:
1238 image: gotty
1239 build: docker/gotty
1240 restart: always
1241 hostname: bchd_13
1242 networks:
1243 - internet
1244 ports:
1245 - 2013:8080
1246 volumes:
1247 - type: bind
1248 source: ./docker/files/bchd/flag.txt
1249 target: /root/flag.txt
1250 read_only: True
1251 volume:
1252 nocopy: True
1253 - type: bind
1254 source: ./docker/files/bchd/map.txt
1255 target: /map.txt
1256 read_only: True
1257 volume:
1258 nocopy: True
1259 bchd14:
1260 image: gotty
1261 build: docker/gotty
1262 restart: always
1263 hostname: bchd_14
1264 networks:
1265 - internet
1266 ports:
1267 - 2014:8080
1268 volumes:
1269 - type: bind
1270 source: ./docker/files/bchd/flag.txt
1271 target: /root/flag.txt
1272 read_only: True
1273 volume:
1274 nocopy: True
1275 - type: bind
1276 source: ./docker/files/bchd/map.txt
1277 target: /map.txt
1278 read_only: True
1279 volume:
1280 nocopy: True
1281 bchd15:
1282 image: gotty
1283 build: docker/gotty
1284 restart: always
1285 hostname: bchd_15
1286 networks:
1287 - internet
1288 ports:
1289 - 2015:8080
1290 volumes:
1291 - type: bind
1292 source: ./docker/files/bchd/flag.txt
1293 read_only: True
1294 target: /root/flag.txt
1295 volume:
1296 nocopy: True
1297 - type: bind
1298 source: ./docker/files/bchd/map.txt
1299 target: /map.txt
1300 read_only: True
1301 volume:
1302 nocopy: True
1303 bchd16:
1304 image: gotty
1305 build: docker/gotty
1306 restart: always
1307 hostname: bchd_16
1308 networks:
1309 - internet
1310 ports:
1311 - 2016:8080
1312 volumes:
1313 - type: bind
1314 source: ./docker/files/bchd/flag.txt
1315 target: /root/flag.txt
1316 read_only: True
1317 volume:
1318 nocopy: True
1319 - type: bind
1320 source: ./docker/files/bchd/map.txt
1321 target: /map.txt
1322 read_only: True
1323 volume:
1324 nocopy: True
1325 bchd17:
1326 image: gotty
1327 build: docker/gotty
1328 restart: always
1329 hostname: bchd_17
1330 networks:
1331 - internet
1332 ports:
1333 - 2017:8080
1334 volumes:
1335 - type: bind
1336 source: ./docker/files/bchd/flag.txt
1337 target: /root/flag.txt
1338 read_only: True
1339 volume:
1340 nocopy: True
1341 - type: bind
1342 source: ./docker/files/bchd/map.txt
1343 target: /map.txt
1344 read_only: True
1345 volume:
1346 nocopy: True
1347 bchd18:
1348 image: gotty
1349 build: docker/gotty
1350 restart: always
1351 hostname: bchd_18
1352 networks:
1353 - internet
1354 ports:
1355 - 2018:8080
1356 volumes:
1357 - type: bind
1358 source: ./docker/files/bchd/flag.txt
1359 target: /root/flag.txt
1360 read_only: True
1361 volume:
1362 nocopy: True
1363 - type: bind
1364 source: ./docker/files/bchd/map.txt
1365 target: /map.txt
1366 read_only: True
1367 volume:
1368 nocopy: True
1369 bchd19:
1370 image: gotty
1371 build: docker/gotty
1372 restart: always
1373 hostname: bchd_19
1374 networks:
1375 - internet
1376 ports:
1377 - 2019:8080
1378 volumes:
1379 - type: bind
1380 source: ./docker/files/bchd/flag.txt
1381 target: /root/flag.txt
1382 read_only: True
1383 volume:
1384 nocopy: True
1385 - type: bind
1386 source: ./docker/files/bchd/map.txt
1387 target: /map.txt
1388 read_only: True
1389 volume:
1390 nocopy: True
1391 bchd20:
1392 image: gotty
1393 build: docker/gotty
1394 restart: always
1395 hostname: bchd_20
1396 networks:
1397 - internet
1398 ports:
1399 - 2020:8080
1400 volumes:
1401 - type: bind
1402 source: ./docker/files/bchd/flag.txt
1403 target: /root/flag.txt
1404 read_only: True
1405 volume:
1406 nocopy: True
1407 - type: bind
1408 source: ./docker/files/bchd/map.txt
1409 target: /map.txt
1410 read_only: True
1411 volume:
1412 nocopy: True