在终端输入 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)
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:274:in
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'
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
from /usr/share/metasploit-framework/lib/msf/core/payload.rb:32:in <class:Payload>'
module:Msf'
from /usr/share/metasploit-framework/lib/msf/core/payload.rb:14:in
from /usr/share/metasploit-framework/lib/msf/core/payload.rb:5:in <top (required)>'
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
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'
load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240: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'
module:PhpEXE'
from /usr/share/metasploit-framework/lib/msf/core/exploit/php_exe.rb:13:in
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'
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:274:in
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'
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
from /usr/share/metasploit-framework/lib/msf/core/exploit/mixins.rb:18:in <top (required)>'
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
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'
load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240: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'
class:Exploit'
from /usr/share/metasploit-framework/lib/msf/core/exploit.rb:224:in
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'
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:274:in
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'
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
from /usr/share/metasploit-framework/lib/msf/core/auxiliary/ntp.rb:3:in <top (required)>'
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
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'
load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240: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/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'
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:274:in
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'
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
from /usr/share/metasploit-framework/lib/msf/core/auxiliary.rb:16:in <class:Auxiliary>'
module:Msf'
from /usr/share/metasploit-framework/lib/msf/core/auxiliary.rb:14:in
from /usr/share/metasploit-framework/lib/msf/core/auxiliary.rb:4:in <top (required)>'
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
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'
load_dependency'
from /usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240: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/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'
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:274:in
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'
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
from /usr/share/metasploit-framework/lib/metasploit/framework.rb:25:in <top (required)>'
require'
from /usr/share/metasploit-framework/lib/metasploit/framework/database.rb:1:in
from /usr/share/metasploit-framework/lib/metasploit/framework/database.rb:1:in <top (required)>'
require'
from /usr/share/metasploit-framework/lib/metasploit/framework/parsed_options/base.rb:17:in
from /usr/share/metasploit-framework/lib/metasploit/framework/parsed_options/base.rb:17:in <top (required)>'
require'
from /usr/share/metasploit-framework/lib/metasploit/framework/parsed_options/console.rb:2:in
from /usr/share/metasploit-framework/lib/metasploit/framework/parsed_options/console.rb:2:in <top (required)>'
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
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'
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:263:in
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'
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
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'
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
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:73:in parsed_options_class'
parsed_options'
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:69:in
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:47:in require_environment!'
start'
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:81:in
from /usr/bin/msfconsole:48:in `'
root@kali:~#