Skip to content

Instantly share code, notes, and snippets.

@1umpus
Created February 5, 2019 21:54
Show Gist options
  • Save 1umpus/d1511f8157fb05911a630512a16423bb to your computer and use it in GitHub Desktop.
Save 1umpus/d1511f8157fb05911a630512a16423bb to your computer and use it in GitHub Desktop.
shadow setup
#!/bin/bash
# Install dependencies
apt-get update
apt-get install -y gcc g++ python libglib2.0-0 libglib2.0-dev libigraph0v5 libigraph0-dev cmake make xz-utils git
apt-get install libc-dbg
apt-get install -y python-matplotlib python-numpy python-scipy python-networkx python-lxml
apt-get install -y git dstat screen htop
apt-get -y install gcc automake autoconf zlib1g-dev liblzma5 liblzma-dev
# Install shadow
git clone https://github.com/shadow/shadow.git
cd shadow
./setup build --clean --debug --test -y
./setup install
./setup test
# Install shadow-plugin-tor
cd ..
git clone https://github.com/shadow/shadow-plugin-tor.git
cd shadow-plugin-tor
./setup dependencies -y
./setup build -y
./setup install
echo "export PATH=${PATH}:/root/.shadow/bin" >> ~/.bashrc && source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment