adding re env setup
This commit is contained in:
1 parent
a7650ae99b
commit
7a00e8fc58
36 files changed
+3123
-1
No files matched your search
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
|
||||
|
||||
|
||||
printf "\n\nInstalling mobsf framework..\n"
|
||||
|
||||
sudo apt install python3.8-venv -y
|
||||
|
||||
git clone https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
|
||||
cd Mobile-Security-Framework-MobSF
|
||||
./setup.sh
|
||||
|
||||
|
||||
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
printf "Installing prereqs including python3, pip, dev-tools, and apktool..\n"
|
||||
|
||||
|
||||
sudo apt install python3 -y
|
||||
|
||||
sudo apt install python3-pip -y
|
||||
|
||||
sudo apt install build-essential -y
|
||||
|
||||
|
||||
sudo apt install apktool -y
|
||||
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
|
||||
|
||||
printf "Copying mitm cert to root certs on Android...\n\n"
|
||||
|
||||
|
||||
mkdir -p certs_mitm
|
||||
cd ./certs_mitm
|
||||
|
||||
cp -v ~/.mitmproxy/mitmproxy-ca-cert.cer .
|
||||
|
||||
hashed_name=`openssl x509 -inform PEM -subject_hash_old -in mitmproxy-ca-cert.cer | head -1` && cp mitmproxy-ca-cert.cer $hashed_name.0
|
||||
|
||||
|
||||
adb remount
|
||||
adb push $hashed_name.0 /etc/security/cacerts/
|
||||
|
||||
adb shell chmod 644 /etc/security/cacerts/$hashed_name.0
|
||||
adb reboot
|
||||
|
||||
printf "\nFinished copying mitm cert to system certs on Android\n\n"
|
||||
|
||||
|
||||
Reference in new issue
Block a user