Skip to content

Instantly share code, notes, and snippets.

@alem0lars
Last active August 29, 2015 14:07
Show Gist options
  • Save alem0lars/ef824c28f1da6389151c to your computer and use it in GitHub Desktop.
Save alem0lars/ef824c28f1da6389151c to your computer and use it in GitHub Desktop.
Provisioning script for a Linux (Debian-based) Exploitation Box
#!/bin/sh
set -e # Exit script immediately on first error.
set -x # Print commands and their arguments as they are executed.
# Update Debian package index.
sudo apt-get update -y
# Install basic packages.
sudo apt-get install -y libavahi-compat-libdnssd-dev
sudo apt-get install -y gcc git-core make patch
sudo apt-get install -y radare2 radare2-vala gdb valgrind
# Install python packages.
sudo apt-get install -y python-twisted python-pip
sudo pip install pybonjour --allow-external pybonjour --allow-unverified pybonjour
# Clean up build products.
sudo rm -rf "$tmp_dir"
curl https://raw.githubusercontent.com/phracker/HopperScripts/master/Hopper%20GDB%20to%20GDB.py > hoppergdb
chmod +x hoppergdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment