Skip to content

Instantly share code, notes, and snippets.

@bcantoni
Created Apr 22, 2016
Embed
What would you like to do?
Vagrant configuration for running WPScan (https://github.com/wpscanteam/wpscan)
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision "shell", privileged: true, inline: <<-SHELL1
apt-get update
apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev git -y
SHELL1
config.vm.provision "shell", privileged: false, inline: <<-SHELL2
curl -sSL --silent https://rvm.io/mpapis.asc | gpg --import -
curl -L --silent https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 2.3.0
rvm use 2.3.0 --default
ruby -v
git clone https://github.com/wpscanteam/wpscan.git
gem install bundler
cd wpscan
gem install bundler
bundle install --without test
ruby wpscan.rb --update
SHELL2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment