Metasploit mailing list archives

Re: Can no import Nmap scan results into database


From: Tod Beardsley <todb () planb-security net>
Date: Mon, 6 Sep 2010 13:34:33 -0500

db_import_nmap_xml blah.xml
[*] Could not read the NMAP file

Generally, db_import is a better method than the various
db_import_file_format commands; the specific commands will get
deprecated here soon(ish). db_import handles multiple files and does
some basic type detection so you can import several files from several
products at once.

msf > db_import whatever.xml
[-] No such file whatever.xml

The error is a little more specific, too, since it distinguishes
between not found and not readable.

-tod

ps just committed r10246 to deprecate db_import_nmap_xml and friends.

pps yeah Spring Systems, the problem seems to be missing the -oX for nmap.
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: