I need some help configuring metasploit (cli) and nmap to run at the same time (i.e. simplify my reconnaissance and vuln checking at the same time). What do I mean? My bosses task me with project of looking for weak passwords on our network. So I scan a subnet range 10.xx.xx.xx/20 using nmap (i.e. nmap -sS –A –O <subnet range> -xO SubnetRange.xml) that can take few hours, then uploaded in to metasploit database, look for smb services (i.e. Services -p 445 –R) and put them in to temp memory. Once that is done I use the smb_login metasploit module, use local administrator account with list of passwords to test.
What I am wanting to do is combine the nmap process and smb_login scan together to automait the process…. Can this be done? If so, what is the process to complete it?