Last active
March 23, 2019 22:26
Setup new hacking VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mkdir ~/tools | |
sudo apt-get install -y git zsh terminator fonts-powerline volatility nmap python-lzma audacity zbar-tools gdb wireshark tshark socat graphviz sqlmap ruby ruby-dev gimp libcapstone3 python python3 python-pip python3-pip sagemath clang | |
sudo dpkg -i code_1.32.3-1552606978_amd64.deb google-chrome-stable_current_amd64.deb | |
# Config | |
git config --global user.email "calle.svensson@zeta-two.com" | |
git config --global user.name "Calle Svensson" | |
# zsh & oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search | |
# Z3 | |
git clone https://github.com/Z3Prover/z3.git ~/tools/z3 | |
cd ~/tools/z3 | |
python scripts/mk_make.py --python | |
cd build | |
make | |
sudo make install | |
# binwalk | |
git clone https://github.com/ReFirmLabs/binwalk.git ~/tools/binwalk | |
cd ~/tools/binwalk | |
sudo python setup.py install | |
# pwntools | |
sudo -H pip install pwntools | |
# pwndbg | |
git clone https://github.com/pwndbg/pwndbg ~/tools/pwndbg | |
cd ~/tools/pwndbg | |
./setup.sh | |
# preeny | |
sudo apt-get install -y libini-config-dev libseccomp-dev | |
git clone https://github.com/zardus/preeny.git ~/tools/preeny | |
cd ~/tools/preeny | |
make | |
# rp++ | |
sudo apt-get install -y libboost-dev | |
git clone --branch next https://github.com/0vercl0k/rp.git ~/tools/rp | |
cd ~/tools/rp | |
git submodule update --init --recursive | |
mkdir build && cd build | |
CXX=/usr/bin/clang++ cmake .. && make | |
sudo make install | |
# WPScan | |
sudo gem install wpscan | |
# Capstone, Keystone & Unicorn | |
sudo -H pip install unicorn keystone-engine capstone | |
# 010 Editor | |
cd ~/Download | |
wget https://www.sweetscape.com/download/010EditorLinux64Installer.tar.gz | |
tar xf 010EditorLinux64Installer.tar.gz | |
./010EditorLinux64Installer --prefix ${HOME}/tools/010editor --mode silent | |
# Binary Ninja | |
unzip 'BinaryNinja-personal.zip*' | |
mv binaryninja ~/tools | |
cd ~/tools/binaryninja/scripts | |
chmod +x linux-setup.sh | |
./linux-setup.sh | |
# Ghidra | |
sudo add-apt-repository ppa:linuxuprising/java | |
sudo apt-get update | |
sudo apt-get install -y oracle-java11-installer | |
cd ~/Downloads | |
wget https://ghidra-sre.org/ghidra_9.0_PUBLIC_20190228.zip | |
unzip ghidra*.zip | |
mv ghidra* ~/tools/ghidra | |
# Dropbox | |
sudo apt-get install -y python3-gpg | |
wget -O dropbox_2019.01.31_amd64.deb https://www.dropbox.com/download\?dl\=packages/ubuntu/dropbox_2019.01.31_amd64.deb | |
sudo dpkg -i dropbox_2019.01.31_amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment