mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 22:42:38 +00:00
20 lines
688 B
Bash
Executable file
20 lines
688 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
[ -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/
|
|
|
|
git clone --depth 1 https://github.com/angr/angr-dev
|
|
cd angr-dev
|
|
./setup.sh
|
|
cd ..
|
|
|
|
mkdir -p bin
|
|
cd bin
|
|
cat <<END > angr-management
|
|
#!/bin/bash -e
|
|
|
|
$VIRTUAL_ENV/bin/python -m angrmanagement "\$@"
|
|
END
|
|
chmod 755 angr-management
|
|
cd ..
|