Metasploit mailing list archives
db_nmap error
From: blakej at ireland.com (Blake Jackson)
Date: Tue, 14 Jul 2009 14:45:03 +0200 (CEST)
Hi list, Ive recently been getting this error when using the db_nmap command db_nmap -sS -PS445 -p445 -n -T5 192.168.31-71.2-254 NMAP: Nmap done: 10373 IP addresses (219 hosts up) scanned in 171.32 seconds [-] Error while running command db_nmap: NoMethodError: undefined method `ms' for Benchmark:Module: SELECT * FROM "hosts" WHERE (address = '192.168.38.198' and comm = '') LIMIT 1 Call stack: /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:212:in `log' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:157:in `execute' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:402:in `catch_schema_changes' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:157:in `execute' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:305:in `select' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:62:in `select_all' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:661:in `find_by_sql' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:1553:in `find_every' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:1510:in `find_initial' /home/blake/msf/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:613:in `find' /home/blake/msf/lib/msf/core/db.rb:258:in `get_host' /home/blake/msf/lib/msf/ui/console/command_dispatcher/db.rb:550:in `load_nmap_xml' /usr/local/lib/ruby/1.8/rexml/element.rb:934:in `each' /usr/local/lib/ruby/1.8/rexml/xpath.rb:53:in `each' /usr/local/lib/ruby/1.8/rexml/element.rb:934:in `each' /home/blake/msf/lib/msf/ui/console/command_dispatcher/db.rb:538:in `load_nmap_xml' /usr/local/lib/ruby/1.8/rexml/element.rb:934:in `each' /usr/local/lib/ruby/1.8/rexml/xpath.rb:53:in `each' /usr/local/lib/ruby/1.8/rexml/element.rb:934:in `each' /home/blake/msf/lib/msf/ui/console/command_dispatcher/db.rb:536:in `load_nmap_xml' /home/blake/msf/lib/msf/ui/console/command_dispatcher/db.rb:528:in `cmd_db_nmap' /home/blake/msf/lib/rex/ui/text/dispatcher_shell.rb:234:in `send' /home/blake/msf/lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command' y /home/blake/msf/lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single' /home/blake/msf/lib/rex/ui/text/dispatcher_shell.rb:191:in `each' /home/blake/msf/lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single' /home/blake/msf/lib/rex/ui/text/shell.rb:127:in `run' ./msfconsole:82 before this I get the output of nmap printed to the screen, I would be really greatful if someone could help. thanks in advance. blake -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.metasploit.com/pipermail/framework/attachments/20090714/9dcb9960/attachment.htm>
Current thread:
- db_nmap error Blake Jackson (Jul 14)
- db_nmap error Kris Katterjohn (Jul 14)
- db_nmap error HD Moore (Jul 14)
- db_nmap error Blake Jackson (Jul 15)