Metasploit mailing list archives
Issue with the latest from svn
From: version5 at gmail.com (nnp)
Date: Tue, 13 Nov 2007 13:52:38 -0800
Hey guys, Just checked the latest code out from svn and after loading the db_postgres module and connecting to a databse I tried to load up a file from an nmap scan. I get the same error if I try the db_nmap command. msf > db_import_nmap_xml /Users/nnp/Audits/nmap_scans/test/test.xml [-] Error while running command db_import_nmap_xml: undefined method `elements' for nil:NilClass Call stack: ./lib/msf/ui/console/command_dispatcher/db.rb:392:in `load_nmap_xml' /opt/local/lib/ruby/1.8/rexml/element.rb:934:in `each' /opt/local/lib/ruby/1.8/rexml/xpath.rb:53:in `each' /opt/local/lib/ruby/1.8/rexml/element.rb:934:in `each' ./lib/msf/ui/console/command_dispatcher/db.rb:390:in `load_nmap_xml' ./lib/msf/ui/console/command_dispatcher/db.rb:360:in `cmd_db_import_nmap_xml' ./lib/rex/ui/text/dispatcher_shell.rb:234:in `send' ./lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command' ./lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single' ./lib/rex/ui/text/dispatcher_shell.rb:191:in `each' ./lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single' ./lib/rex/ui/text/shell.rb:125:in `run' ./msfconsole:77 Fairly busy right now so I haven't even bothered to investigate this but I figured someone might have a fix. Not sure if its an issue with the code or something I'm doing. Cheers, nnp -- http://www.smashthestack.org http://www.unprotectedhex.com
Current thread:
- Issue with the latest from svn nnp (Nov 13)
- Issue with the latest from svn Patrick Webster (Nov 13)
- Issue with the latest from svn nnp (Nov 13)
- Issue with the latest from svn Patrick Webster (Nov 13)