mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-12 14:02:33 +00:00
7144e756e5
early on any error + anticipate that some tools can't be installed by now, but we still want the test to return success to satisfy travis-ci
30 lines
624 B
Bash
Executable file
30 lines
624 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
# it's z3!
|
|
ctf-tools-pip install https://github.com/zardus/z3/archive/pypy-and-setup.zip
|
|
|
|
set +e
|
|
source ${VIRTUALENVWRAPPER_SCRIPT}
|
|
workon ctftools
|
|
set -e
|
|
|
|
# pybfd can't be installed with pip
|
|
git clone --depth 1 https://github.com/Groundworkstech/pybfd
|
|
cd pybfd/
|
|
python setup.py install
|
|
cd ..
|
|
|
|
# install pyasmjit
|
|
git clone --depth 1 https://github.com/programa-stic/pyasmjit.git
|
|
cd pyasmjit
|
|
python setup.py install
|
|
cd ..
|
|
|
|
# install barf
|
|
git clone --depth 1 https://github.com/programa-stic/barf-project
|
|
cd barf-project/
|
|
python setup.py install
|
|
cd ..
|
|
|
|
mkdir -p bin
|
|
ln -s $(which BARFgadgets) bin/barfgadgets
|