Workspaces in Metasploit are used to separate datasets, allowing you to stay organized. It is a good idea to create a new workspace to organize all your collected data before starting a new penetration test, thereby avoiding contamination by previous tests.
Creating workspaces
How to do it...
- The default workspace is selected when connecting to the database, which is represented by the * character before its name:
msf > workspace
* default
- To display the usage for the workspace command, use the -h option as follows:
msf > workspace -h
Usage:
workspace List workspaces
workspace -v List workspaces verbosely
workspace [name] Switch workspace
workspace -a [name] ... Add...