viernes, junio 29, 2018

Instalar Metasploitable3 en Ubuntu 18.10

Vagrant reload plug-in no se podrá instalar correctamente si utilizas el paquete vagrant disponible en la distro. El detalle del error es el siguiente:

 $>vagrant plugin install vagrant-reload
Installing the 'vagrant-reload' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

conflicting dependencies fog-core (~> 1.43.0) and fog-core (= 1.45.0)
  Activated fog-core-1.45.0
  which does not match conflicting dependency (~> 1.43.0)

  Conflicting dependency chains:
    fog-core (= 1.45.0), 1.45.0 activated

  versus:
    vagrant-libvirt (> 0), 0.0.41 activated, depends on
    fog-core (~> 1.43.0)

Estos son los pasos que debes seguir para crear una VM correctamente:
sudo apt install packer
wget -c https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.deb
sudo dpkg -i vagrant_2.0.3_x86_64.deb
vagrant plugin install vagrant-reload
./build.sh windows2008  o ./build.sh ubuntu1404 ( dependiendo de la VM que quieras generar)