Last active
July 3, 2020 07:16
-
-
Save robertobarreda/444f0b8abb4d4587f0f58ebadc48a48b to your computer and use it in GitHub Desktop.
JEDI SI PAC3 (Web Vulnerabilities)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "debian/buster64" | |
config.vm.network "forwarded_port", guest: 9090, host: 9090 | |
# config.vm.synced_folder ".", "/vagrant", disabled: true | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "256" | |
end | |
config.vm.provision "shell", inline: <<-SHELL | |
apt-get update && apt-get install -y curl | |
curl -sL https://deb.nodesource.com/setup_8.x | bash - | |
apt-get install -y git build-essential nodejs=8.17.0-1nodesource1 | |
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
apt-get update && apt-get install yarn | |
git clone https://github.com/appsecco/dvna.git -b sqlite /home/vagrant/dvna | |
chown -R vagrant:vagrant /home/vagrant/dvna | |
cd /home/vagrant/dvna | |
yarn install | |
SHELL | |
end |
Author
robertobarreda
commented
Jan 30, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment