Sign inSign up

heywoodlh/metasploit

By heywoodlh

•Updated 6 days ago

Multi arch, weekly build of Metasploit Framework built from source

Image
Security
2

10K+

heywoodlh/metasploit repository overview

This is a community, multiarch, built-from-source image of the Metasploit Framework.

Features:

  • Unprivileged msf user
  • Built-from-source Metasploit
  • Nix package manager installed for additional post-installation packages
  • msfrpcd and msfd tag for running Metasploit remotely: Running Metasploit Remotely⁠
⁠Resources

The Dockerfile for this image is here: https://github.com/heywoodlh/dockerfiles/blob/master/metasploit/Dockerfile⁠

The GitHub Action to build this image is here: https://github.com/heywoodlh/actions/blob/master/.github/workflows/metasploit-buildx.yml⁠

Includes the Nix package manager⁠ for any optional dependencies that might be desired after deployment.

⁠Docker Compose

The following should serve as a reference for every type of deployment desired: docker-compose.yml⁠

As a quickstart, copy docker-compose.yml⁠ to your project directory:

Then, to run Metasploit with a working database, run:

docker compose run --rm metasploit

If you'd like to try Metasploit client with a separate msrpcd instance and database, run:

docker compose run --rm msfrpc

If you'd like to try a Netcat client with msfd with a separate msfd instance and database, run:

docker compose run --rm msfd-client

Bring down all services when done with:

docker compose down

⁠Issues

If issues are encountered with this image feel free to open an issue⁠.

Tag summary

Content type

Image

Digest

sha256:8665fdada…

Size

925.8 MB

Last updated

6 days ago

docker pull heywoodlh/metasploit