mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-10 16:34:13 +00:00
updated keystone, pwndbg, unicorn installation to source ctf-tools-venv-activate
This commit is contained in:
parent
ce90837ff0
commit
565579b7da
3 changed files with 15 additions and 7 deletions
|
@ -3,7 +3,7 @@ set -eu -o pipefail
|
|||
|
||||
git clone --depth 1 https://github.com/keystone-engine/keystone.git || true
|
||||
|
||||
ctf-tools-venv-activate
|
||||
source ctf-tools-venv-activate
|
||||
|
||||
mkdir -p keystone/build/
|
||||
pushd keystone/build/
|
||||
|
@ -19,3 +19,7 @@ pushd keystone/bindings/python
|
|||
#pip install -U .
|
||||
make DEST_DIR="$VIRTUAL_ENV" BUILD_DIR="../../build/" install
|
||||
popd
|
||||
|
||||
|
||||
echo "WARNING: keystone installation is broken"
|
||||
exit 1
|
||||
|
|
|
@ -3,15 +3,19 @@ set -eu -o pipefail
|
|||
|
||||
git clone --depth 1 https://github.com/pwndbg/pwndbg
|
||||
|
||||
pushd pwndbg
|
||||
ctf-tools-pip instal -Ur ./requirements.txt
|
||||
ctf-tools-pip install -U capstone
|
||||
source ctf-tools-venv-activate
|
||||
|
||||
manage-tools install unicorn
|
||||
pushd pwndbg
|
||||
pip install -Ur ./requirements.txt
|
||||
popd
|
||||
|
||||
# pwndbg brings it's own capstone/unicorn submodules
|
||||
# we ignore this for now and install the deps ourselfs
|
||||
#git submodule update --init --recursive
|
||||
# we ignore this for now
|
||||
|
||||
# install capstone/unicron dependencies
|
||||
pip install -U capstone
|
||||
manage-tools install unicorn
|
||||
|
||||
mkdir bin
|
||||
cat >> bin/pwndbg <<EOF
|
||||
|
|
|
@ -3,7 +3,7 @@ set -eu -o pipefail
|
|||
|
||||
git clone --depth 1 https://github.com/unicorn-engine/unicorn.git || true
|
||||
|
||||
ctf-tools-venv-activate
|
||||
source ctf-tools-venv-activate
|
||||
|
||||
pushd unicorn
|
||||
echo "installing unicorn to $VIRTUAL_ENV"
|
||||
|
|
Loading…
Reference in a new issue