Created
January 12, 2015 01:50
-
-
Save nstarke/aabe781c6967a7f03adb to your computer and use it in GitHub Desktop.
openvas-report-import-msf-error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msf > openvas_report_import 1 11 | |
[*] Importing report to database. | |
[-] Error while running command openvas_report_import: getaddrinfo: Name or service not known | |
Call stack: | |
/home/nick/metasploit-framework/lib/rex/socket.rb:181:in `gethostbyname' | |
/home/nick/metasploit-framework/lib/rex/socket.rb:181:in `getaddresses' | |
/home/nick/metasploit-framework/lib/rex/socket.rb:165:in `getaddress' | |
/home/nick/metasploit-framework/lib/msf/core/db_manager/host.rb:93:in `normalize_host' | |
/home/nick/metasploit-framework/lib/msf/core/db_manager/host.rb:160:in `block in report_host' | |
/home/nick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection' | |
/home/nick/metasploit-framework/lib/msf/core/db_manager/host.rb:151:in `report_host' | |
/home/nick/metasploit-framework/lib/msf/core/db_manager/vuln.rb:135:in `block in report_vuln' | |
/home/nick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection' | |
/home/nick/metasploit-framework/lib/msf/core/db_manager/vuln.rb:113:in `report_vuln' | |
/home/nick/metasploit-framework/lib/rex/parser/nokogiri_doc_mixin.rb:153:in `db_report' | |
/home/nick/metasploit-framework/lib/rex/parser/openvas_nokogiri.rb:135:in `block in record_vuln' | |
/home/nick/metasploit-framework/lib/rex/parser/openvas_nokogiri.rb:126:in `each' | |
/home/nick/metasploit-framework/lib/rex/parser/openvas_nokogiri.rb:126:in `record_vuln' | |
/home/nick/metasploit-framework/lib/rex/parser/openvas_nokogiri.rb:67:in `end_element' | |
/home/nick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/nokogiri-1.6.5/lib/nokogiri/xml/sax/document.rb:127:in `end_element_namespace' | |
/home/nick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/nokogiri-1.6.5/lib/nokogiri/xml/sax/parser.rb:112:in `parse_with' | |
/home/nick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/nokogiri-1.6.5/lib/nokogiri/xml/sax/parser.rb:112:in `parse_memory' | |
/home/nick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/nokogiri-1.6.5/lib/nokogiri/xml/sax/parser.rb:84:in `parse' | |
/home/nick/metasploit-framework/lib/msf/core/db_manager/import/open_vas.rb:11:in `import_openvas_new_xml' | |
/home/nick/metasploit-framework/lib/msf/core/db_manager/import.rb:89:in `import' | |
/home/nick/metasploit-framework/plugins/openvas.rb:527:in `cmd_openvas_report_import' | |
/home/nick/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:427:in `run_command' | |
/home/nick/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:389:in `block in run_single' | |
/home/nick/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:383:in `each' | |
/home/nick/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:383:in `run_single' | |
/home/nick/metasploit-framework/lib/rex/ui/text/shell.rb:200:in `run' | |
/home/nick/metasploit-framework/lib/metasploit/framework/command/console.rb:38:in `start' | |
/home/nick/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start' | |
./msfconsole:48:in `<main>'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment