From 3223736d93b2c7e4b55e739e135f5d728d0b66dd Mon Sep 17 00:00:00 2001 From: Ajin Abraham Date: Wed, 11 Dec 2024 18:08:06 -0800 Subject: [PATCH 1/2] HOTFIX: Show Abused Permissions, Fix Download AAB, Dependency bump --- mobsf/StaticAnalyzer/views/android/xapk.py | 2 - .../android_binary_analysis.html | 2 +- poetry.lock | 50 +++++++++---------- 3 files changed, 26 insertions(+), 28 deletions(-) diff --git a/mobsf/StaticAnalyzer/views/android/xapk.py b/mobsf/StaticAnalyzer/views/android/xapk.py index 1d60a7490..67e130eaa 100644 --- a/mobsf/StaticAnalyzer/views/android/xapk.py +++ b/mobsf/StaticAnalyzer/views/android/xapk.py @@ -107,8 +107,6 @@ def handle_aab(app_dic): if not apks.exists() and aab_path.exists(): # Convert AAB to APKS subprocess.run(args, timeout=300) - # Remove AAB - aab_path.unlink() # Extract APK from APKS for apk_file in unzip(checksum, apks.as_posix(), app_dic['app_dir']): full_path = app_dic['app_dir'] / apk_file diff --git a/mobsf/templates/static_analysis/android_binary_analysis.html b/mobsf/templates/static_analysis/android_binary_analysis.html index abd716d62..cc1aced3d 100755 --- a/mobsf/templates/static_analysis/android_binary_analysis.html +++ b/mobsf/templates/static_analysis/android_binary_analysis.html @@ -1827,6 +1827,7 @@
{{ code_analysis.summary.suppressed }}
+{% endif %}
@@ -1885,7 +1886,6 @@
{{ code_analysis.summary.suppressed }}
- {% endif %}