Nessus 4.2.2 and Metasploit v3.3.4
Hy guys,
I have problems to import nessus xml report scan in metasploit framework.
I have installed the new nessus 4.2.2 version and when I try to import the report file with db_import_nessus_xml I receive this error:
msf > db_import_nessus_xml /root/xxx.nessus
[-] Error while running command db_import_nessus_xml: undefined local variable or method `file_contents' for #<Msf.DBManager:0xb7330bdc>
Call stack:
/opt/metasploit3/msf3/lib/msf/core/db.rb:1185:in `import_nessus_xml'
/opt/metasploit3/msf3/lib/msf/core/db.rb:1203:in `import_nessus_xml_file'
/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:886:in `cmd_db_import_nessus_xml'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:239:in `send'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:239:in `run_command'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:201:in `run_single'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:195:in `each'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:195:in `run_single'
/opt/metasploit3/msf3/lib/rex/ui/text/shell.rb:144:in `run'
./msfconsole:92
I save the xml report in nessus version 1 because the version 2 is not already supported by metasploit framework.
Any idea?
Thx!
Re: Nessus 4.2.2 and Metasploit v3.3.4
Since nessus is not included in BT you will likely have or get better support from either metasploit or nessus.
Re: Nessus 4.2.2 and Metasploit v3.3.4
I have solved!
This bug affects only pre-installed version of metasploit in backtrack 4. With fastrack update the problem will be resolved!
Thx :)