rapid7 / metasploitable3

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

Failed to create Vagrant box in Mxlinux #535

Closed byteshiva closed 3 years ago

byteshiva commented 3 years ago

Issue Description

Vagrant up threw below error

The box 'rapid7/metasploitable3-ub1404' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://vagrantcloud.com/rapid7/metasploitable3-ub1404"]
Error: The requested URL returned error: 403

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.

byteshiva commented 3 years ago

It may be related to below vagrant issue https://github.com/hashicorp/vagrant/issues/12390#issuecomment-848039375

byteshiva commented 3 years ago

I'm able to provision Metaspoitlable3

I had to rerun vagrant up twice to resolve the below error. But overall I'm able to ssh to both win2k8 and ub1404

The following WinRM command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

Dismount-DiskImage -ImagePath $env:TEMP/VBoxGuestAdditions.iso

Stdout from the command:

Stderr from the command:

The term 'Dismount-DiskImage' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Dismount-DiskImage -ImagePath $env:TEMP/VBoxGuestAdditions.iso
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Dismount-DiskImage:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException