From 2fc954e30bb601d0f63689330e10a8545d846fe3 Mon Sep 17 00:00:00 2001 From: Dan Goldsmith Date: Mon, 4 Oct 2021 15:54:30 +0100 Subject: [PATCH] Squashed 'NMap/' content from commit 48c13c9 git-subtree-dir: NMap git-subtree-split: 48c13c916a8d745cf0bb20bd3b58d6b33f941546 --- README.md | 4 ++++ Target1/docker-compose.yaml | 18 ++++++++++++++++++ Target2/docker-compose.yaml | 18 ++++++++++++++++++ Target3/docker-compose.yaml | 26 ++++++++++++++++++++++++++ Target4/.settings/smb.conf | 10 ++++++++++ Target4/docker-compose.yaml | 10 ++++++++++ 6 files changed, 86 insertions(+) create mode 100644 README.md create mode 100644 Target1/docker-compose.yaml create mode 100644 Target2/docker-compose.yaml create mode 100644 Target3/docker-compose.yaml create mode 100644 Target4/.settings/smb.conf create mode 100644 Target4/docker-compose.yaml diff --git a/README.md b/README.md new file mode 100644 index 0000000..7c6e35b --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Nmap "Trainer" + +Various hosts to run nmap agaisnt + diff --git a/Target1/docker-compose.yaml b/Target1/docker-compose.yaml new file mode 100644 index 0000000..7121343 --- /dev/null +++ b/Target1/docker-compose.yaml @@ -0,0 +1,18 @@ +version: '3' +services: + ssh: + image: cueh/debian_ssh + ports: + - "22:22" + web: + image: cueh/php_apache + ports: + - "80:80" + ftp: + image: stilliard/pure-ftpd + ports: + - "21:21" + smtp: + image: cueh/typewriter_postfix + ports: + - "25:25" \ No newline at end of file diff --git a/Target2/docker-compose.yaml b/Target2/docker-compose.yaml new file mode 100644 index 0000000..d370fe2 --- /dev/null +++ b/Target2/docker-compose.yaml @@ -0,0 +1,18 @@ +version: '3' +services: + ssh: + image: cueh/debian_ssh + ports: + - "242:22" + web: + image: cueh/php_apache + ports: + - "443:80" + ftp: + image: stilliard/pure-ftpd + ports: + - "21:21" + smtp: + image: cueh/typewriter_postfix + ports: + - "25:25" \ No newline at end of file diff --git a/Target3/docker-compose.yaml b/Target3/docker-compose.yaml new file mode 100644 index 0000000..d1092bb --- /dev/null +++ b/Target3/docker-compose.yaml @@ -0,0 +1,26 @@ +version: '3' +services: + ssh: + image: cueh/debian_ssh + ports: + - "242:22" + web: + image: cueh/scanningweb #cueh/php_apache + ports: + - "80:80" + volumes: + - data-volume:/var/www/html/ftp-uploads/ + ftp: + image: cueh/ftpanon #stilliard/pure-ftpd + ports: + - "21:21" + - "30000-30009:30000-30009" + volumes: + - data-volume:/var/ftp/ + smtp: + image: cueh/typewriter_postfix + ports: + - "25:25" + +volumes: + data-volume: diff --git a/Target4/.settings/smb.conf b/Target4/.settings/smb.conf new file mode 100644 index 0000000..f8f91de --- /dev/null +++ b/Target4/.settings/smb.conf @@ -0,0 +1,10 @@ +[global] + map to guest = Bad User + server string = Samba Server Version %v + guest account = nobody + +[myshare] + path = /home/share + read only = no + guest ok = yes + guest only = yes \ No newline at end of file diff --git a/Target4/docker-compose.yaml b/Target4/docker-compose.yaml new file mode 100644 index 0000000..ccd06a3 --- /dev/null +++ b/Target4/docker-compose.yaml @@ -0,0 +1,10 @@ +version: '2' +services: + samba: + image: vulhub/samba:4.6.3 + tty: true + volumes: + - ./.settings/smb.conf:/usr/local/samba/etc/smb.conf + ports: + - "445:445" + - "6699:6699"