kepade8
kepade8
2016-11-05 04:09

求救:kali数据库启动后依然无法打开metasploit

在终端输入 msfconsole后出现:

A database appears to be already configured, skipping initialization
/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require': cannot load such file -- msf/core/payload/firefox (LoadError)
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/lib/msf/core/payload.rb:32:in <class:Payload>'
from /usr/share/metasploit-framework/lib/msf/core/payload.rb:14:in
module:Msf'
from /usr/share/metasploit-framework/lib/msf/core/payload.rb:5:in <top (required)>'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in
load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require'
from /usr/share/metasploit-framework/lib/msf/core/exploit/php_exe.rb:13:in
module:PhpEXE'
from /usr/share/metasploit-framework/lib/msf/core/exploit/php_exe.rb:10:in <module:Msf>'
from /usr/share/metasploit-framework/lib/msf/core/exploit/php_exe.rb:9:in
'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/lib/msf/core/exploit/mixins.rb:18:in <top (required)>'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in
load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require'
from /usr/share/metasploit-framework/lib/msf/core/exploit.rb:224:in
class:Exploit'
from /usr/share/metasploit-framework/lib/msf/core/exploit.rb:30:in <module:Msf>'
from /usr/share/metasploit-framework/lib/msf/core/exploit.rb:5:in
'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/lib/msf/core/auxiliary/ntp.rb:3:in <top (required)>'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in
load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require'
from /usr/share/metasploit-framework/lib/msf/core/auxiliary/mixins.rb:28:in
'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/lib/msf/core/auxiliary.rb:16:in <class:Auxiliary>'
from /usr/share/metasploit-framework/lib/msf/core/auxiliary.rb:14:in
module:Msf'
from /usr/share/metasploit-framework/lib/msf/core/auxiliary.rb:4:in <top (required)>'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in
load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require'
from /usr/share/metasploit-framework/lib/msf/core.rb:66:in
'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
block in require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in
require'
from /usr/share/metasploit-framework/lib/metasploit/framework.rb:25:in <top (required)>'
from /usr/share/metasploit-framework/lib/metasploit/framework/database.rb:1:in
require'
from /usr/share/metasploit-framework/lib/metasploit/framework/database.rb:1:in <top (required)>'
from /usr/share/metasploit-framework/lib/metasploit/framework/parsed_options/base.rb:17:in
require'
from /usr/share/metasploit-framework/lib/metasploit/framework/parsed_options/base.rb:17:in <top (required)>'
from /usr/share/metasploit-framework/lib/metasploit/framework/parsed_options/console.rb:2:in
require'
from /usr/share/metasploit-framework/lib/metasploit/framework/parsed_options/console.rb:2:in <top (required)>'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in
require'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in const_get'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in
block in constantize'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in each'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in
inject'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in constantize'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in
constantize'
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:73:in parsed_options_class'
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:69:in
parsed_options'
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:47:in require_environment!'
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:81:in
start'
from /usr/bin/msfconsole:48:in `'
root@kali:~#

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答