Skip to content

Update vagrant_setup.sh #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions vagrant_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,23 @@ mkdir tools
cd tools

# Install pwndbg
git clone https://github.com/zachriggle/pwndbg
git clone --recursive https://github.com/zachriggle/pwndbg
echo source `pwd`/pwndbg/gdbinit.py >> ~/.gdbinit

# Capstone for pwndbg
git clone https://github.com/aquynh/capstone
cd capstone
git checkout -t origin/next
sudo ./make.sh install
cd bindings/python
sudo python3 setup.py install # Ubuntu 14.04+, GDB uses Python3
cd pwndbg
./setup.sh
cd ..

# pycparser for pwndbg
sudo pip3 install pycparser # Use pip3 for Python3

# Install radare2
cd ~/tools
git clone https://github.com/radare/radare2
cd radare2
./sys/install.sh

# Install binwalk
cd
cd ~/tools
git clone https://github.com/devttys0/binwalk
cd binwalk
sudo python setup.py install
Expand All @@ -77,7 +73,7 @@ make
sudo pip2 uninstall capstone -y

# Install correct capstone
cd ~/tools/capstone/bindings/python
cd ~/tools/pwndbg/capstone/bindings/python
sudo python setup.py install

# Personal config
Expand All @@ -89,7 +85,7 @@ cd dotfiles
./install.sh

# Install Angr
cd /home/vagrant
cd ~/tools
sudo apt-get -y install python-dev libffi-dev build-essential virtualenvwrapper
sudo pip install virtualenv
virtualenv angr
Expand Down