What’s the first thing come to your mind when you think of doing network pentest of over 1000 IPs in couple of weeks? Is it really possible? Answer is YES!!!
Our preffered choice is Metasploit Database. This handy tool is too awesome that it helps not only to exploit the vulnerabilities directly from the Metasploit console but also saves plenty of time and prevents you to be in a messy situation. So how do you start?
Fire up your Metasploit and type db_status command to check if you have Metasploit database installed or not. If not, refer here, here and here to set it up. Assuming you have everything setup, lets get started.
sudo nmap -sV -v -O -Pn -iL ip.txt -oX network-scan.xml
Do -sU in case you want to perform UDP scans as well.
db_connect <username>:<password> @localhost:5432
workspace –a <Workspace_name>
Refer here for all Metasploit database commands.
db_import <Path_of_XML_file>
The take aways from this approach is:
Happy Hacking!!!
Join our newsletter today and enhance your knowledge with valuable insights. It's quick, easy, and free!