Saving configurations in Metasploit
Oftentimes, I forget to switch to the workspace I created for a particular scan and end up merging results in the default workspace; however, such problems can be avoided using the save
command in Metasploit. Suppose you have shifted the workspace and customized your prompts and other things. You can use the save
command to save the configuration.
This means that next time you fire up Metasploit, you will end up with the same parameters and workspace you left behind, as shown in the following screenshot:
We can see that we got the saved configurations from our previous session and everything was collected in the configuration file. Now we will no longer have the hassle of switching workspaces all the time.
If you are not making use of the push
and pop
commands in Metasploit, you will find that it is time consuming to manually set up a new exploit handler...