forked from aryanguenthner/365
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobsf-setup.sh
30 lines (26 loc) · 958 Bytes
/
mobsf-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
################################################
# Tested on Kali 2020.4
# If you're reading this pat yourself on the back
# sudo dos2unix *.sh
# sudo chmod +x *.sh
# Usage: sudo ./mobsf-setup.sh | tee mobsf.log
# Learn more at https://github.com/aryanguenthner/
# Last Updated 12/16/2020
################################################
echo "Usage: sudo ./mobsf-setup.sh | tee mobsf.log"
# MobSF Setup
echo '# MobSF' >> /root/.bashrc
export ANDROID_SDK=/root/Android/Sdk/
export PATH=$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$PATH
export PATH="/root/Android/Sdk/platform-tools":$PATH
export PATH="/opt/android-studio/jre/jre/bin":$PATH
echo '# Java Deez Nutz' >> /root/.bashrc
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
echo "MobSF"
cd /opt/
git clone https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
cd Mobile-Security-Framework-MobSF/
pip3 install -r requirements.txt
sudo yes |./setup.sh &
echo