6ccd3c71e9
Adds a basic Dockerfile and docker-compose config. `docker-compose.yml` adds a named volume for postgres so data should persist. `$HOME/.msf4` will be mounted to `/root/.msf4` by default. port 4444 is exposed by default Basic Usage: docker/bin/msfconsole docker/bin/msfvenom
6 lines
225 B
Plaintext
6 lines
225 B
Plaintext
<ruby>
|
|
run_single("setg LHOST #{ENV['LHOST']}") if ENV['LHOST']
|
|
run_single("setg LPORT #{ENV['LPORT']}") if ENV['LPORT']
|
|
run_single("db_connect #{ENV['DATABASE_URL'].gsub('postrgres://', '')}") if ENV['DATABASE_URL']
|
|
</ruby>
|