2017-02-16 21:40:17 +00:00
|
|
|
#!/bin/bash -ex
|
2015-05-14 05:29:52 +00:00
|
|
|
|
|
|
|
# it's z3!
|
2016-09-23 09:34:54 +00:00
|
|
|
ctf-tools-pip install https://github.com/zardus/z3/archive/pypy-and-setup.zip
|
|
|
|
|
2017-02-16 21:40:17 +00:00
|
|
|
set +e
|
2016-09-23 09:34:54 +00:00
|
|
|
source ${VIRTUALENVWRAPPER_SCRIPT}
|
|
|
|
workon ctftools
|
2017-02-16 21:40:17 +00:00
|
|
|
set -e
|
2015-05-14 05:29:52 +00:00
|
|
|
|
|
|
|
# pybfd can't be installed with pip
|
2015-12-09 22:42:41 +00:00
|
|
|
git clone --depth 1 https://github.com/Groundworkstech/pybfd
|
2015-05-14 05:29:52 +00:00
|
|
|
cd pybfd/
|
|
|
|
python setup.py install
|
|
|
|
cd ..
|
|
|
|
|
2016-09-23 09:34:54 +00:00
|
|
|
# install pyasmjit
|
|
|
|
git clone --depth 1 https://github.com/programa-stic/pyasmjit.git
|
|
|
|
cd pyasmjit
|
|
|
|
python setup.py install
|
|
|
|
cd ..
|
|
|
|
|
2015-05-14 05:29:52 +00:00
|
|
|
# install barf
|
2015-12-09 22:42:41 +00:00
|
|
|
git clone --depth 1 https://github.com/programa-stic/barf-project
|
2015-05-14 05:29:52 +00:00
|
|
|
cd barf-project/
|
2016-09-23 09:34:54 +00:00
|
|
|
python setup.py install
|
2015-05-14 05:29:52 +00:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
mkdir -p bin
|
|
|
|
ln -s $(which BARFgadgets) bin/barfgadgets
|