ctf-tools/angr/install

22 lines
796 B
Text
Raw Normal View History

#!/bin/bash -ex
2015-11-03 07:55:20 +00:00
2016-10-10 09:47:58 +00:00
source ctf-tools-venv-activate
2016-10-10 09:26:39 +00:00
#[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/PyQt4 ] || ln -s /usr/lib/python2.7/dist-packages/PyQt4 $VIRTUAL_ENV/lib/python2.7/site-packages/
#[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/sip.so ] || ln -s /usr/lib/python2.7/dist-packages/sip.so $VIRTUAL_ENV/lib/python2.7/site-packages/
#[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/pygraphviz ] || ln -s /usr/lib/pymodules/python2.7/pygraphviz $VIRTUAL_ENV/lib/python2.7/site-packages/
2015-11-03 07:55:20 +00:00
git clone --depth 1 https://github.com/angr/angr-dev
2017-02-12 18:11:15 +00:00
GIT_ASKPASS=echo angr-dev/setup.sh -w -r https://git:@github.com/salls angrop
2016-10-10 09:26:39 +00:00
rm -rf angr-dev/wheels
2015-11-03 07:55:20 +00:00
mkdir -p bin
cd bin
cat <<END > angr-management
#!/bin/bash -e
$VIRTUAL_ENV/bin/python -m angrmanagement "\$@"
END
chmod 755 angr-management
cd ..