Automation using the Minion script
I was randomly checking GitHub for automation scripts when I found this gem of a script. Minion is a plugin for Metasploit, and it can be convenient for quick exploitation and scans. The Minion plugin for Metasploit can be downloaded from https://github.com/T-S-A/Minion.
We can download the file to the ~/.msf4/plugins
directory or, in case it doesn't work, copy it to the /usr/share/metasploit-framework/plugins
directory, fire up msfconsole
, and issue the load minion
command, as shown in the following screenshot:
In the previous chapters, we saw how we could quickly load a plugin into Metasploit using the load
command. Now, let's load the Minion plugin using the load minion
command, as shown in the preceding screenshot. Once loaded successfully, switch to the workspace you have been working on or perform an Nmap scan in case there are no hosts in the...