CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/smb/README.md
Views: 1904

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.