-
Notifications
You must be signed in to change notification settings - Fork 148
/
Copy pathinstall.sh
executable file
·39 lines (25 loc) · 1.12 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
echo "[~~~] This install script is deprecated. Please use pip install method instead"
sudo apt-get install python-pip python-dev build-essential rubygems-integration ruby-dev rubygems python-dev libffi-dev -y
#Ubuntu 12 -> rubygems
#Ubuntu 14 -> rubygems-integration
#Ubuntu 16,18 -> ruby-dev
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libstdc++6:i386 -y
sudo pip install virtualenv virtualenvwrapper
sudo pip install --upgrade pip
printf '\n%s\n%s\n%s' '# virtualenv' 'export WORKON_HOME=~/virtualenvs' 'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bashrc
export WORKON_HOME=~/virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
mkvirtualenv zeratool
workon zeratool
sudo gem install one_gadget
#Need to port to latest angr
pip install angr==7.8.2.21 cffi==1.7.0 future==0.16.0 pycparser==2.18 IPython==5.0 r2pipe psutil timeout_decorator pwn
git clone https://github.com/radare/radare2.git
sudo ./radare2/sys/install.sh
pip install IPython==5.0 r2pipe psutil timeout_decorator pwn
echo "####################"
echo "run: . ~/.bashrc"
echo "run: workon zeratool"