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:
- Reinstall Grub Bootloader on a Dual boot laptop Kali Tips #1
- Reinstall Grub Bootloader on a Dual boot laptop Kali Tips #1
- Automatically Log Terminal Kali Tips #2
- Add Message to Terminal Kali Tips #3
- Code Editor Kali Tips #4
- Convert MSG to PDF Kali Tips #5
- Run Metasploit Module One Liner Kali Tips #6
- Check External IP Kali Tips #7
- Search Packages in Common Package Managers Kali Tips #8
END TRANSMISSION