Skip to content

This is the instruction on how to download the metasploitable3 successfully

Notifications You must be signed in to change notification settings

Wapiti08/metasploitable3-download-instructions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 

Repository files navigation

metasploitable3-download-instructions

This is the instruction on how to download the metasploitable3 successfully

References include:

Additional information

  1. Networking Setting

I use the bridge module to do the experiment. Then it will make sure every virtual machine can communicate with each other.
If I use the NAT model, all the vms will have the same IPs. I have no idea how to fix that.

(1) Restart the networking service:

default the system uses the eth0 network adapter

shut the default network adapter down first ifdown eth0 restart the apapter ifup etho0 or: restart the networking service sudo /etc/init.d/networking restart

Instructions

1.As the instruction here, to download the vagrant, packer and virtualbox.

Pay attention to the versions for every tools

Metasploitable 3 install

2.If you meet problem like that:

Unable to resolve dependency: user requested 'vagrant-share (> 0)'

reference is(hashicorp/vagrant#8054)

vagrant plugin install vagrant-cucumber

3.If you meet notice like that:

--> vmware-iso: Failed creating VMware driver: Unable to initialize any driver for this platform. The errors from each driver are shown below. Please fix at least one driver to continue:

  • exec: "vmware": executable file not found in $PATH
  • exec: "vmware": executable file not found in $PATH
  • exec: "vmrun": executable file not found in $PATH
  • exec: "vmrun": executable file not found in $PATH

==> Builds finished. The artifacts of successful builds are: --> virtualbox-iso: 'virtualbox' provider box: /home/newt/VirtualBox VMs/Metasploitable3/metasploitable3/packer/templates/../builds/windows_2008_r2_virtualbox_0.1.0.box

It means it goes well.

vagrant up

4.If you meet this error:

There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%... Progress state: NS_ERROR_FAILURE VBoxManage: error: Failed to create the host-only adapter VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface >IHostNetworkInterface VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg*)" at line 94 of file VBoxManageHostonly.cpp

You can follow instructions here: VBoxManage: error: Failed to create the host-only adapter

5.Then you can login in with the default password and username:

metasploitable3

About

This is the instruction on how to download the metasploitable3 successfully

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published