Skip to content

Instantly share code, notes, and snippets.

@alem0lars
Created October 18, 2014 14:01
Show Gist options
  • Save alem0lars/ff3592ac67c24dba4363 to your computer and use it in GitHub Desktop.
Save alem0lars/ff3592ac67c24dba4363 to your computer and use it in GitHub Desktop.
The Vagrantfile for a Debian-based exploitation box
# -*- mode: ruby -*-
# vi: set ft=ruby :
require "fileutils"
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.box_check_update = true
config.vm.network "private_network", ip: "10.0.20.102"
config.vm.synced_folder ".", "/vagrant_data"
config.vm.provider "virtualbox" do |vb|
# Don't boot with headless mode
vb.gui = false
# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
end
config.vm.provision :shell, :path => "https://gist.githubusercontent.com/alem0lars/ef824c28f1da6389151c/raw/bf3dcff498a35f20c74ee331e90bf4c6e85c29a9/debian_expl_box_provision"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment