rapid7 / metasploitable3

Metasploitable3 is a VM that is built from the ground up with a large amount of security vulnerabilities.
Other
4.79k stars 1.15k forks source link

how fix it #587

Open 0x0Mr opened 1 year ago

0x0Mr commented 1 year ago

Issue Description

Please check the General Issues section in the wiki before you submit the issue. If you didn't find your issue mentioned, please give a thorough description of the issue you're seeing. Also, please be sure to include any troubleshooting steps that you've already attempted.

Host System

Command Output

Copy the relevant command output here. If it's long, either post to a gist and add the link here, or isolate the error lines.

<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- winrm-elevated (LoadError)
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/plugins/communicators/winrm/shell.rb:12:in `<top (required)>'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/plugins/communicators/winrm/communicator.rb:6:in `require_relative'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/plugins/communicators/winrm/communicator.rb:6:in `<top (required)>'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/plugins/communicators/winrm/plugin.rb:15:in `block in <class:Plugin>'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/registry.rb:27:in `get'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/machine.rb:269:in `communicate'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/machine.rb:151:in `initialize'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/vagrantfile.rb:83:in `new'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/vagrantfile.rb:83:in `machine'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/environment.rb:740:in `machine'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/plugin/v2/command.rb:180:in `block in with_target_vms'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/plugin/v2/command.rb:204:in `block in with_target_vms'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/plugin/v2/command.rb:186:in `each'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/plugin/v2/command.rb:186:in `with_target_vms'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/plugins/commands/up/command.rb:87:in `execute'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/cli.rb:67:in `execute'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/lib/vagrant/environment.rb:301:in `cli'
    from /usr/share/rubygems-integration/all/gems/vagrant-2.3.4/bin/vagrant:243:in `<top (required)>'
    from /usr/bin/vagrant:25:in `load'
    from /usr/bin/vagrant:25:in `<main>'
gwillcox-r7 commented 1 year ago

Not enough information is available to replicate this issue. Please provide more information on what steps you took to cause this to happen.

jmartin-tech commented 1 year ago

Likely you are missing a required vagrant plugin:

vagrant plugin install winrm-elevated