Metasploit mailing list archives

Issue with the latest from svn


From: patrick at aushack.com (Patrick Webster)
Date: Wed, 14 Nov 2007 11:42:31 +1100

The error occurs here:

        def load_nmap_xml(data)
            doc = REXML::Document.new(data)
            doc.elements.each('/nmaprun/host') do |host|
                addr = host.elements['address'].attributes['addr']
                host.elements['ports'].elements.each('port') do |port|

This code is independent of the Postgres code.

It would appear that either the path to the file is incorrect (try copying
the xml file to the msf/home/framework folder so you can use a relative path
instead of absolute), or that there are no open ports from your nmap scan.

Can you check the xml file and confirm whether any open ports are listed?

We *should* handle these errors.. :)

-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/framework/attachments/20071114/e33288db/attachment.htm>


Current thread: