File tree 3 files changed +14
-10
lines changed
3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash -ex
2
- set -e -o pipefail
3
2
4
3
git clone --depth 1 https://github.com/pwndbg/pwndbg
5
4
6
5
source ctf-tools-venv-activate
7
6
8
7
pushd pwndbg
9
8
pip install -Ur ./requirements.txt
10
- popd
11
-
12
- # pwndbg brings it's own capstone/unicorn submodules
13
- # we ignore this for now and install the deps ourselfs
14
- # git submodule update --init --recursive
15
9
16
- # install capstone/unicron dependencies
17
- pip install -U capstone
18
- manage-tools install unicorn
10
+ git submodule update --init --recursive
11
+ popd
19
12
20
13
mkdir bin
21
14
cat >> bin/pwndbg << EOF
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -ex
2
+
3
+ # install system wide, s.t. pwndbg works also with system qemu
4
+ pacman -Syu --noconfirm python-psutil python2-psutil \
5
+ capstone python-capstone python2-capstone\
6
+ unicorn python-unicorn python2-unicorn
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -ex
2
2
3
- apt-get install -y libc6-dbg
3
+ sudo apt-get -y install python-dev python3-dev python-pip python3-pip \
4
+ libglib2.0-dev libc6-dbg
5
+
6
+ if uname -m | grep x86_64 > /dev/null; then
7
+ sudo apt-get install libc6-dbg:i386 || true
8
+ fi
You can’t perform that action at this time.
0 commit comments