SearchSploit is a command line search tool for Exploit-DB
Needs to be updated periodically (weekly): searchsploit -u
searchsploit -u
You can use the XML file generated by nmap to automate finding exploits.
--nmap <file>.xml