Coder Social home page Coder Social logo

vulnhub_vagrant's Introduction

VulnHub_Vagrant

This repository is for the vagrant instances of VulnHub machines.

Before beginning to use this repo, please ensure that you have the following packages installed:

Prior to executing any of the vagrant deployments, ensure that you create an internal network, named "haymarketers." The IP range can be whatever you desire, but the name is set to "haymarketers."

For reference, you can set the internal network via the VBoxManage utility. EX: vboxmanage dhcpserver add --netname haymarketers --ip 10.13.37.1 --netmask 255.255.255.0 --lowerip 10.13.37.5 --upperip 10.13.37.254 --enable

TO DO: Add scripts to assist with above network creation.

To use this repository, navigate to a desired machine directory and enter 'vagrant up'. Inside each directory will be a README with the content from VulnHub.

After vagrant up is run, press CTRL-C to stop the ssh (this will not - and for these machines, is intended not to - work). The machine will function as expected, so long as your attacking host (another VM of your custom choosing) is on the 'haymarketers' network. Keep in mind that this network will not allow connection to your host (via network) or the internet. As such, if you need to add tools to your attacker host, change the networking to NAT, do the work that requires internet, and change the network back to the 'haymarketers' internal network.

*Disclaimers:

  • I do not take credit for the creation of the original machines. The respective author of the exploitable machine will be given proper credit in the README of each machine.
  • Use these VMs at your own risk. If there are any concerns about malicious activities from any machine, I advise to create the internal network as described above. I, VulnHub, and the author of the vulnerable machines bear no responsibility for any damages or difficulties resulting from use of these resources. Use at your own risk.

Have fun and learn a lot. :-D

~~ @RedHatAugust ~~

~~ @Thefeesh7 ~~

vulnhub_vagrant's People

Contributors

redhataugust avatar thefeesh7 avatar

Stargazers

Gunawan avatar TheShpio avatar Catha avatar Clint avatar  avatar  avatar  avatar  avatar  avatar  avatar Ankur Tyagi avatar Dimitris Kalogeras avatar Selman avatar Othman Alikhan avatar Coby Coleman avatar Chad Wilson avatar  avatar NeodymiumPhish avatar RJ avatar  avatar  avatar Mike Judd avatar HauptSec avatar Stuart Smiles avatar Jason avatar  avatar Bruno Matos avatar David Huerta avatar  avatar Net Ze Roo avatar Amandeep Singh Johar avatar Presian Yankulov avatar Robert avatar Jesse Hazen avatar r0fflerapt0r avatar  avatar  avatar  avatar Mark C Ballew avatar Ean Newton avatar Dejan Zelic avatar

Watchers

Ean Newton avatar Dejan Zelic avatar  avatar  avatar  avatar

vulnhub_vagrant's Issues

haymarketers - Windows

Just need to save a .bat file with the following one line below in it for a 'script' or just copy/paste into command prompt.

"C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" dhcpserver add --netname haymarketers --ip 10.13.37.1 --netmask 255.255.255.0 --lowerip 10.13.37.5 --upperip 10.13.37.254 --enable

error when starting firstblood

Didn't know what vagrant was but I believe I installed it. Below is what I did to get it to launch a VM. Also, when I ran firstblood on my home PC, I had the same error of which turning off usb 2.0 resolved it.

Download and install from https://www.vagrantup.com/downloads
Install will have you reboot but you can say no
Open CMD
type vagrant
should get results, confirmed works
Download and install (default options) from https://gitforwindows.org/
select launch git at end
cd to folder you want to download VulnHub_Vagrant
git clone https://github.com/redhataugust/VulnHub_Vagrant (less than 200KB)
close git
go back to CMD
cd "C:\github\redhataugust\VulnHub_Vagrant" (or your folder name)
cd 2020-09-19_FirstBlood-1
vagrant up

You will see:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'RedHatAugust/FirstBlood-1' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'RedHatAugust/FirstBlood-1'
default: URL: https://vagrantcloud.com/RedHatAugust/FirstBlood-1
==> default: Adding box 'RedHatAugust/FirstBlood-1' (v0.01) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/RedHatAugust/boxes/FirstBlood-1/versions/0.01/providers/virtualbox.box
Download redirected to host:...

UAC prompt then copying files box then UAC prompt

_default:
default: Calculating and comparing box checksum...

==> default: Successfully added box 'RedHatAugust/FirstBlood-1' (v0.01) for 'virtualbox'!
==> default: Importing base box 'RedHatAugust/FirstBlood-1'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'RedHatAugust/FirstBlood-1' version '0.01' is up to date...
==> default: Setting the name of the VM: FirstBlood
Vagrant is currently configured to create VirtualBox synced folders with
the SharedFoldersEnableSymlinksCreate option enabled. If the Vagrant
guest is not trusted, you may want to disable this option. For more
information on this option, please refer to the VirtualBox manual:

https://www.virtualbox.org/manual/ch04.html#sharedfolders

This option can be disabled globally with an environment variable:

VAGRANT_DISABLE_VBOXSYMLINKCREATE=1

or on a per folder basis within the Vagrantfile:

config.vm.synced_folder '/host/path', '/guest/path', SharedFoldersEnableSymlinksCreate: false
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
default: Adapter 1: intnet
default: Adapter 2: intnet
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
default: VirtualBox adapter #1 not configured as "NAT". Skipping port
default: forwards on this adapter.
==> default: Booting VM...
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "ef715adf-b587-4099-914a-ab4417c4dbff", "--type", "headless"]

Stderr: VBoxManage.exe: error: Implementation of the USB 2.0 controller not found!_
VBoxManage.exe: error: Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.
VBoxManage.exe: error: Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.