Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/smb/README.md
19758 views

Setup

This contains a custom Docker image used for SMB acceptance testing.

Running

  • Build:

docker compose build
  • Run:

docker compose up -d --wait
  • Shut down:

docker compose down

Adding More Shares & Files

To add more shares, you need to create the directories and files in the shares folder. Each directory in this folder should follow a pattern of being mapped to a share. These directories and files will be copied to the container when re-building the Docker image. For each new share, you need to add in a corresponding entry to the config/smb.conf file so that the share is registered by Samba.