51Testing软件测试论坛

标题: kali系统启动msfconsole报错 [打印本页]

作者: 测试积点老人    时间: 2022-7-20 13:40
标题: kali系统启动msfconsole报错
kali系统启动msfconsole报错:
  1. /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/transport/server_host_key_algorithm/ecdsa_sha2_nistp256.rb:14:in generate_key!': pkeys are immutable on OpenSSL 3.0 (OpenSSL::PKey::PKeyError) from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/transport/server_host_key_algorithm/ecdsa_sha2_nistp256.rb:14:in class:EcdsaSha2Nistp256'
  2. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/transport/server_host_key_algorithm/ecdsa_sha2_nistp256.rb:10:in<class:ServerHostKeyAlgorithm>' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/transport/server_host_key_algorithm/ecdsa_sha2_nistp256.rb:9:in class:Transport'
  3. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/transport/server_host_key_algorithm/ecdsa_sha2_nistp256.rb:8:in<module:HrrRbSsh>' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/transport/server_host_key_algorithm/ecdsa_sha2_nistp256.rb:7:in <top (required)>'
  4. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:inrequire' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require'
  5. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/transport/server_host_key_algorithm.rb:19:in<top (required)>' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require'
  6. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:inrequire' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/transport.rb:16:in <top (required)>'
  7. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:inrequire' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require'
  8. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh.rb:15:in<top (required)>' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require'
  9. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:inrequire' from /usr/share/metasploit-framework/lib/rex/proto/ssh/hrr_rb_ssh.rb:3:in <top (required)>'
  10. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:inrequire' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require'
  11. from /usr/share/metasploit-framework/lib/rex/proto/ssh/connection.rb:2:in<top (required)>' from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require'
  12. from /usr/share/metasploit-framework/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:inrequire' from /usr/share/metasploit-framework/lib/msf/core/handler/reverse_ssh.rb:146:in default_version_string'
  13. from /usr/share/metasploit-framework/lib/msf/core/handler/reverse_ssh.rb:40:ininitialize' from /usr/share/metasploit-framework/lib/msf/base/sessions/command_shell_options.rb:16:in initialize'
  14. from /usr/share/metasploit-framework/modules/payloads/singles/cmd/unix/reverse_ssh.rb:16:ininitialize' from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:95:in new'
  15. from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:95:inblock (2 levels) in recalculate' from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:93:in each_pair'
  16. from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:93:inblock in recalculate' from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:73:in each_pair'
  17. from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:73:inrecalculate' from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:258:in block in load_modules'
  18. from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:255:ineach' from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:255:in load_modules'
  19. from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:170:inblock in load_modules' from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:168:in each'
  20. from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:168:inload_modules' from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:41:in block in add_module_path'
  21. from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:ineach' from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in add_module_path'
  22. from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:51:inblock in init_module_paths' from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:50:in each'
  23. from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:50:ininit_module_paths' from /usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:160:in initialize'
  24. from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:60:innew' from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:60:in driver'
  25. from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:instart' from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in start'
  26. from /usr/bin/msfconsole:23:in `

  27. '
复制代码



作者: qqq911    时间: 2022-7-21 10:25
检查下环境配置
作者: 掰断曲别针    时间: 2022-7-21 11:24
https://blog.csdn.net/weixin_389 ... 1001.2014.3001.5502
作者: 掰断曲别针    时间: 2022-7-21 11:25
这个贴子有解决方式https://blog.csdn.net/weixin_389 ... 1001.2014.3001.5502
作者: 海海豚    时间: 2022-7-21 11:40
楼上+1




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2