From c06d3543ce14a9f907c454bc84413a0702dd981e Mon Sep 17 00:00:00 2001 From: qux-bbb <1147635419@qq.com> Date: Tue, 28 Jul 2020 19:52:02 +0800 Subject: [PATCH 1/2] Update android_dangerous_permissions.py make it work --- modules/signatures/android/android_dangerous_permissions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/signatures/android/android_dangerous_permissions.py b/modules/signatures/android/android_dangerous_permissions.py index 4ac2d2f6e..d3a555f42 100644 --- a/modules/signatures/android/android_dangerous_permissions.py +++ b/modules/signatures/android/android_dangerous_permissions.py @@ -19,3 +19,4 @@ def on_complete(self): if "dangerous" in perm["severity"] and \ "Unknown" not in perm["action"]: self.mark(permission=perm["action"]) + return self.has_marks() From cc0cd4217cbcc172f237b61de0a875551ab4ef21 Mon Sep 17 00:00:00 2001 From: qux-bbb <1147635419@qq.com> Date: Tue, 28 Jul 2020 19:53:45 +0800 Subject: [PATCH 2/2] Update android_embedded_apk.py make it work --- modules/signatures/android/android_embedded_apk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/signatures/android/android_embedded_apk.py b/modules/signatures/android/android_embedded_apk.py index 5179d11f4..b2ff33582 100644 --- a/modules/signatures/android/android_embedded_apk.py +++ b/modules/signatures/android/android_embedded_apk.py @@ -16,3 +16,4 @@ def on_complete(self): for f in self.get_apkinfo("files", []): if "Android application package file" in f["type"]: self.mark(filename=f["name"], description="Embedded APK file") + return self.has_marks()