From 842248a21987f7cfa07c368d7da0ffc1f2a34c74 Mon Sep 17 00:00:00 2001 From: spameier <40004508+spameier@users.noreply.github.com> Date: Tue, 11 Jul 2023 07:50:16 +0200 Subject: [PATCH] feat: add mobsf to mobile packages --- sources/assets/zsh/aliases.d/mobsf | 1 + sources/assets/zsh/history.d/mobsf | 1 + sources/install/package_mobile.sh | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 sources/assets/zsh/aliases.d/mobsf create mode 100644 sources/assets/zsh/history.d/mobsf diff --git a/sources/assets/zsh/aliases.d/mobsf b/sources/assets/zsh/aliases.d/mobsf new file mode 100644 index 000000000..43f1fbb31 --- /dev/null +++ b/sources/assets/zsh/aliases.d/mobsf @@ -0,0 +1 @@ +alias mobsf='cd /opt/tools/Mobile-Security-Framework-MobSF/ && echo "[*] changed dir : cd /opt/tools/Mobile-Security-Framework-MobSF/" && ./run.sh' diff --git a/sources/assets/zsh/history.d/mobsf b/sources/assets/zsh/history.d/mobsf new file mode 100644 index 000000000..1b8cdcc78 --- /dev/null +++ b/sources/assets/zsh/history.d/mobsf @@ -0,0 +1 @@ +mobsf 0.0.0.0:8000 diff --git a/sources/install/package_mobile.sh b/sources/install/package_mobile.sh index c19c7834c..8d12431da 100644 --- a/sources/install/package_mobile.sh +++ b/sources/install/package_mobile.sh @@ -67,6 +67,17 @@ function install_androguard() { add-to-list "androguard,https://github.com/androguard/androguard,Reverse engineering and analysis of Android applications" } +function install_mobsf(){ + colorecho "Installing Mobile Security Framework" + fapt wkhtmltopdf + git clone https://github.com/MobSF/Mobile-Security-Framework-MobSF /opt/tools/Mobile-Security-Framework-MobSF + cd /opt/tools/Mobile-Security-Framework-MobSF && ./setup.sh + + add-aliases mobsf + add-history mobsf + add-to-list "mobsf,https://github.com/MobSF/Mobile-Security-Framework-MobSF,Automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework" +} + # Package dedicated to mobile apps pentest tools function package_mobile() { install_mobile_apt_tools @@ -75,4 +86,5 @@ function package_mobile() { install_frida install_objection # Runtime mobile exploration toolkit install_androguard # Reverse engineering and analysis of Android applications + install_mobsf # Automated mobile application testing framework } \ No newline at end of file