-
Notifications
You must be signed in to change notification settings - Fork 176
/
Copy pathsetup.sh
executable file
·73 lines (51 loc) · 1.47 KB
/
setup.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env bash
#These are the requirements for running this tool:
#Package update
sudo apt-get update
#Install python and pip
sudo apt-get -y install build-essential libssl-dev libffi-dev python-dev python-pip python3 python3-dev python3-pip
#Upgrade pip
sudo pip install --upgrade pip
sudo pip3 install --upgrade pip
#Java JDK
sudo apt-get -y install openjdk-8-jdk
#Git
sudo apt-get -y install git
#Tree
sudo apt-get -y install tree
#install libs
sudo dpkg --add-architecture i386
sudo apt-get -y install libgtk2.0-0:i386 libxxf86vm1:i386 libsm6:i386 libstdc++6:i386 lib32z1
#Figlet
sudo apt-get -y install figlet
#unrest
sudo pip install unirest
#aha - Ansi HTML Adapter
sudo apt-get -y install aha
#Androwarn dependencies
sudo apt-get -y install python python-jinja2 git
#Smali graph generation dependency
sudo pip install pydot --user
#configparser
sudo pip install configparser
#Smalisca
sudo pip install smalisca
#APKiD
sudo pip install wheel
sudo pip wheel --wheel-dir=/tmp/yara-python --build-option="build" --build-option="--enable-dex" git+https://github.com/VirusTotal/[email protected]
sudo pip install --no-index --find-links=/tmp/yara-python yara-python
sudo pip install apkid
#whatweb
sudo apt-get install -y whatweb
#trueseeing
sudo pip3 install trueseeing
#Increase maximum java heap size for Jadx
export JAVA_OPTS="-Xmx4G"
source ~/.bashrc
#make tools executable
chmod -R +x tools/
#Clean up
rm -r documentation_old/
rm -r tools_old/
rm -r update/
exit