forked from stripe-ctf/stripe-ctf-2.0
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuilding-stripe-ctf-base.txt
executable file
·34 lines (25 loc) · 1.16 KB
/
building-stripe-ctf-base.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Run these commands on the base lucid32 box to build stripe-ctf-base.box
sudo /usr/bin/apt-get update
sudo /usr/bin/apt-get install -y apache2 libapache2-mod-php5 libsqlite3-dev build-essential python-software-properties python-pip
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install -y nodejs npm
sudo gem install bundler sinatra sequel sqlite3 rest-client json rack rack_csrf --no-rdoc --no-ri
sudo pip install flask flup
# PhantomJS
wget http://phantomjs.googlecode.com/files/phantomjs-1.8.1-linux-i686.tar.bz2
tar xjf phantomjs-1.8.1-linux-i686.tar.bz2
sudo mv phantomjs-1.8.1-linux-i686/bin/phantomjs /usr/local/bin/
sudo chown root:root /usr/local/bin/phantomjs
sudo apt-get install -y fontconfig
# CasperJS
wget https://github.com/n1k0/casperjs/tarball/1.0.2
tar zxf 1.0.2
sudo ln -s /home/vagrant/n1k0-casperjs-bc0da16/bin/casperjs /usr/local/bin
# Level 8
sudo apt-get install -y python2.6-dev
sudo pip install -U Twisted==11.1.0 argparse==1.2.1 distribute==0.6.24 wsgiref==0.1.2 zope.interface==4.0.1
# Level 7
sudo pip install requests py-bcrypt
# Git, to use origin/master instead of local working copy
sudo apt-get install git-core