Skip to content

Instantly share code, notes, and snippets.

@A2nkF A2nkF/Vagrantfile
Last active Aug 2, 2019

Embed
What would you like to do?
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-16.04"
# SHELL
config.vm.provision "shell", inline: <<-SHELL
# Install important packages
sudo apt-get update
sudo apt-get install -y binutils gdb git tree zsh python python3 python-pip python3-pip unzip
sudo pip2 install pwntools
sudo pip2 install huepy
sudo pip2 install bpython
mkdir /home/vagrant/tools
# Clone and setup gef
git clone https://github.com/pwndbg/pwndbg /home/vagrant/tools/pwndbg
/home/vagrant/tools/pwndbg/setup.sh
echo "---------------------------- pwndbg COMPLETE ----------------------------"
# Clone and setup radare
git clone https://github.com/radare/radare2.git /home/vagrant/tools/radare2
sh /home/vagrant/tools/radare2/sys/install.sh
echo "---------------------------- RADARE2 COMPLETE --------------------------------"
# # Install os-my-zsh
# sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
#
# # Install and configure zsh plugins
# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /home/vagrant/.oh-my-zsh/plugins
# echo "source /home/vagrant/.oh-my-zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> /home/vagrant/.zshrc
# source /home/vagrant/.oh-my-zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
sudo chown -R vagrant:vagrant /home/vagrant
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.