Public | Automated Build

Last pushed: 7 months ago
Short Description
This Docker image encapsulates Metasploit Framework penetration testing software.
Full Description

This Docker image encapsulates Metasploit Framework software for penetration testing. To run this image after installing Docker, use a command like this:

sudo  docker run --rm -it -p 443:443 -v ~/.msf4:/root/.msf4 -v /tmp/msf:/tmp/data remnux/metasploit

The -p parameter exposes the ports on which you expect to receive inbound connections from reverse shells and such. Once the app starts, run the desired Metasploit command, such as "msfconsole" inside its container.

After running the image, you'll have files from your Metasploit session in the ~/.msf4 and /tmp/msf directories on your host. The next time you run the app, it will pick up from where it left off by reading the files in those locations. If you wish to start from scratch, remove those directories (sudo rm -rf ~/.msf4 /tmp/msf).

In addition to including Metasploit Framework, the image also includes Nmap, NASM and tmux. For more and examples related to this container, see Run Metasploit Framework as a Docker Container Without Installation Pains.

Docker Pull Command
Owner
remnux
Source Repository

Comments (2)
alicerobotics
3 months ago

Please fix broken Ruby. Can't resolve issue.

lengers
7 months ago

After the last build, ruby is no longer installed in the container. Without ruby, metasploit cannot run, which renders this container useless.