Metasploit mailing list archives

db_nmap error


From: hdm at metasploit.com (HD Moore)
Date: Tue, 14 Jul 2009 13:28:12 -0500

On Tue, 14 Jul 2009 07:45:03 -0500, Blake Jackson <blakej at ireland.com>  
wrote:

Hi list,

Ive recently been getting this error when using the db_nmap command

db_nmap -sS -PS445 -p445 -n -T5 192.168.31-71.2-254

NMAP: Nmap done: 10373 IP addresses (219 hosts up) scanned in 171.32  
seconds
[-] Error while running command db_nmap: NoMethodError: undefined method  
`ms' for Benchmark:Module: SELECT * FROM "hosts" WHERE (address =  
'192.168.38.198' and comm = '') LIMIT 1


Fixed in SVN - I had to force active_support to load first, which extends  
the Benchmark class to add the ms method.

Thanks!

-HD


Current thread: