diff --git a/NMap/README.md b/NMap/README.md new file mode 100644 index 0000000..7c6e35b --- /dev/null +++ b/NMap/README.md @@ -0,0 +1,4 @@ +# Nmap "Trainer" + +Various hosts to run nmap agaisnt + diff --git a/NMap/Target1/docker-compose.yaml b/NMap/Target1/docker-compose.yaml new file mode 100644 index 0000000..7121343 --- /dev/null +++ b/NMap/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/NMap/Target2/docker-compose.yaml b/NMap/Target2/docker-compose.yaml new file mode 100644 index 0000000..d370fe2 --- /dev/null +++ b/NMap/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/NMap/Target3/docker-compose.yaml b/NMap/Target3/docker-compose.yaml new file mode 100644 index 0000000..d1092bb --- /dev/null +++ b/NMap/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/NMap/Target4/.settings/smb.conf b/NMap/Target4/.settings/smb.conf new file mode 100644 index 0000000..f8f91de --- /dev/null +++ b/NMap/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/NMap/Target4/docker-compose.yaml b/NMap/Target4/docker-compose.yaml new file mode 100644 index 0000000..ccd06a3 --- /dev/null +++ b/NMap/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"