Metasploit mailing list archives
Error from openvas_report_import function after scan completion
From: George Birmingham <sec_engineer () roadrunner com>
Date: Tue, 13 Sep 2011 21:21:37 -0400
Greetings. Having completed the first scan using OpenVAS from Metasploit, I received the following error when trying to import the scan results:
Test initiation: *msf > openvas_task_start a2eb7c84-f28f-49c7-8ae4-3be813e1f954 : :*</Task executes without issuing any errors and was monitored using the Browser (Greenbone Security Assistant) access to OpenVAS>/
*:* : *msf > openvas_task_list a2eb7c84-f28f-49c7-8ae4-3be813e1f954 [+] OpenVAS list of tasks ID Name Status Progress -- ---- ------ -------- a2eb7c84-f28f-49c7-8ae4-3be813e1f954 RouterScan Done -1* *msf > openvas_report_import a2eb7c84-f28f-49c7-8ae4-3be813e1f954*[-] Error while running command openvas_report_import: undefined method `elements' for nil:NilClass
Call stack:/pentest/framework-4.0.0/msf3/lib/openvas/openvas-omp.rb:500:in `report_get_byid' /pentest/framework-4.0.0/msf3/plugins/openvas.rb:653:in `cmd_openvas_report_import' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:380:in `send' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:380:in `run_command' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:342:in `run_single' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:336:in `each' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:336:in `run_single'
/pentest/framework-4.0.0/msf3/lib/rex/ui/text/shell.rb:199:in `run' /pentest/framework-4.0.0/msf3/msfconsole:130 *msf > openvas_report_import a2eb7c84-f28f-49c7-8ae4-3be813e1f954*[-] Error while running command openvas_report_import: undefined method `text' for nil:NilClass
Call stack:/pentest/framework-4.0.0/msf3/lib/openvas/openvas-omp.rb:500:in `report_get_byid' /pentest/framework-4.0.0/msf3/plugins/openvas.rb:653:in `cmd_openvas_report_import' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:380:in `send' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:380:in `run_command' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:342:in `run_single' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:336:in `each' /pentest/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:336:in `run_single'
/pentest/framework-4.0.0/msf3/lib/rex/ui/text/shell.rb:199:in `run' /pentest/framework-4.0.0/msf3/msfconsole:130* msf >*In viewing the OpenVAS report in the browser, the router has two findings, one HIGH and one MEDIUM.
What shall I try next ? Thanks, George Birmingham Huntersville, NC
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- Error from openvas_report_import function after scan completion George Birmingham (Sep 13)
- Re: Error from openvas_report_import function after scan completion Tod Beardsley (Sep 13)
- Re: Error from openvas_report_import function after scan completion Average SecurityGuy (Sep 23)
- Re: Error from openvas_report_import function after scan completion Average SecurityGuy (Sep 28)
- Re: Error from openvas_report_import function after scan completion George Birmingham (Sep 28)