[framework] Issue with the latest from svn
nnp
version5 at gmail.com
Tue Nov 13 15:52:38 CST 2007
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
More information about the framework
mailing list