Run Metasploit Module One Liner Kali Tips #6

This one is super useful! It is a one liner to run a metasploit module.

msfconsole -n -q -x “use gather/search_email_collector;set domain target.com;run;exit”

 

Obviously replace gather/search_email_collector with whatever module you want to run, then make sure to set whatever options are needed for the module. In the example above, just replace target.com with whatever domain you’re targeting.

Anyway. enjoy!

Watch all the entries in this series:

END TRANSMISSION

Leave a Reply