diff --git a/README.md b/README.md index 7098f6c..3594c3e 100644 --- a/README.md +++ b/README.md @@ -175,6 +175,7 @@ A collection of delicious docker recipes. - [x] grr - [x] hydra - [x] iptables +- [x] metasploit - [x] routersploit - [x] snort :beetle: - [x] sslsplit diff --git a/metasploit/README.md b/metasploit/README.md new file mode 100644 index 0000000..81eb80d --- /dev/null +++ b/metasploit/README.md @@ -0,0 +1,26 @@ +metasploit +========== + +[![](https://metasploit.com/includes/images/metasploit-logo.svg)][1] + +The world’s most used penetration testing framework. + +## Getting Started + +To run `msfconsole` + +```bash +$ docker-compose run --rm --service-ports ms +``` + +To run `msfvenom` + +```bash +$ docker-compose run --rm ms ./msfvenom +``` + +## Advanced Usage + + + +[1]: https://metasploit.com/ diff --git a/metasploit/docker-compose.yml b/metasploit/docker-compose.yml new file mode 100644 index 0000000..87082e8 --- /dev/null +++ b/metasploit/docker-compose.yml @@ -0,0 +1,22 @@ +version: '2' + +services: + ms: + image: metasploitframework/metasploit-framework + environment: + DATABASE_URL: postgres://postgres@db:5432/msf + links: + - db + ports: + - 4444:4444 + volumes: + - $HOME/.msf4:/home/msf/.msf4 + - /etc/localtime:/etc/localtime:ro + db: + image: postgres:9-alpine + volumes: + - pg_data:/var/lib/postgresql/data + +volumes: + pg_data: + driver: local