rapid7 / metasploitable3

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

no matter what i do i cant create the Metasloitable3 #275

Closed caloss1 closed 6 years ago

caloss1 commented 6 years ago

Issue Description

*Please check the General Issues i follow the all YouTube tutorial and start the powershell script, the installation stuck every time by error

i try different version of packer and vagrant, nothing its seems the entire setup is corrupted

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.

amdorj commented 6 years ago

Try downloading Vagrant 1.9.1 and running it with that. According to the General Issues page Vagrant 1.9.1 is the currently supported version. https://releases.hashicorp.com/vagrant/1.9.1/

mkienow-r7 commented 6 years ago

The General Issues wiki page looks like it hasn't been updated recently. @caloss1 You should be able to use a newer version of Vagrant. Have you tried using packer version 1.2.2? Your screenshot doesn't show all of the console output. What command did you run that produced the above output? I haven't worked with the PS build, but some of the paths in your output look a bit odd to me with the mixed path separators / and \.

caloss1 commented 6 years ago

i install excact like the youtbue toturial the command i use is .\build_win2008.ps1

caloss1 commented 6 years ago

still dont work, what i can do?

jmartin-tech commented 6 years ago

According to your output the box built properly it just need to be added to vagrant

I would try moving into the folder where the box is located and import there.

cd packer\builds\
vagrant box add metasploitable3-win2k8 windows_2008_r2_virtualbox.box
dukeofdisaster commented 6 years ago

clone from this user's fork https://github.com/Chan9390/metasploitable3 and build.... make sure you remove any existing vagrant boxes prior

PS> vagrant box list

then delete any of the listed box with PS> vagrant box remove

His build script worked for me on Windows 10 Pro

Chan9390 commented 6 years ago

Hey @caloss1 , sorry for late reply.

From the logs I could notice a box is created at J:\DownloadGames\metasploitable3-master\packer\builds\windows_2008_r2_virtualbox_0.1.0.box. But when the script adds the box, it is looking for the box file windows_2008_r2_virtualbox.box which doesn't exist.

Solution:

cd packer\builds\
vagrant box add metasploitable3-win2k8 windows_2008_r2_virtualbox_0.1.0.box
Chan9390 commented 6 years ago

Merging PR #277 will resolve this issue.

jmartin-tech commented 6 years ago

Closing as fixed with #277