mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
add metasploit
This commit is contained in:
parent
bc8bed7138
commit
5426f2df8f
@ -175,6 +175,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] grr
|
- [x] grr
|
||||||
- [x] hydra
|
- [x] hydra
|
||||||
- [x] iptables
|
- [x] iptables
|
||||||
|
- [x] metasploit
|
||||||
- [x] routersploit
|
- [x] routersploit
|
||||||
- [x] snort :beetle:
|
- [x] snort :beetle:
|
||||||
- [x] sslsplit
|
- [x] sslsplit
|
||||||
|
26
metasploit/README.md
Normal file
26
metasploit/README.md
Normal file
@ -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
|
||||||
|
|
||||||
|
<https://github.com/rapid7/metasploit-framework/tree/master/docker>
|
||||||
|
|
||||||
|
[1]: https://metasploit.com/
|
22
metasploit/docker-compose.yml
Normal file
22
metasploit/docker-compose.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user