49th Security Division
We are a student organization that are about promoting the knowledge of cybersecurity and teaching our members fundamentals (along with advanced techniques) on how to prepare for the future of cybersecurity!
slideshow: tinyurl.com/49sd-vagrant
if you don't trust us...preview at: http://preview.tinyurl.com/49sd-vagrant
Providers
apt-get install vagrant #whatever package manager mine is pacman
Very important to stay organized!
cd Desktop
mkdir vagrant
Powershell
Bash
mkdir vagrant
# if os == Windows
mkdir vagrant-ubuntu
cd vagrant-ubuntu
# if os == Linux
mkdir vagrant-ubuntu && cd $_
# now time for some fun :)
vagrant init hashicorp/precise64
vagrant up
vagrant ssh
telnet towel.blinkenlights.nl
sudo apt-get install sl
!$
sudo apt-get install cmatrix
!$
vagrant halt
vagrant global-status
vagrant destroy
cd ..
# can always go back into directory and vagrant up
mkdir vagrant-kali
cd vagrant-kali
wget https://raw.githubusercontent.com/49thSecurityDivision/slideshows/master/2017/01-Intermediate-Monday/01-Vagrant/Vagrantfile -Outfile Vagrantfile
explorer .
Powershell
mkdir vagrant-kali && cd $_ #whatever you want to call it
wget https://raw.githubusercontent.com/49thSecurityDivision/slideshows/master/2017/01-Intermediate-Monday/01-Vagrant/Vagrantfile
nano Vagrantfile
Bash
Customize the Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "49thsd/kali-linux-2.0-amd64"
config.vm.box_url = "http://vagrant.49sd.com/red.box"
config.vm.provision "shell",
inline: "apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y"
end
Vagrantfile (change to look like this)
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Hit:1 http://archive.linux.duke.edu/kalilinux/kali kali-rolling InRelease
By 49th Security Division
We are a student organization that are about promoting the knowledge of cybersecurity and teaching our members fundamentals (along with advanced techniques) on how to prepare for the future of cybersecurity!