diff --git a/modules/signatures/android/android_dangerous_permissions.py b/modules/signatures/android/android_dangerous_permissions.py index 4ac2d2f6..d3a555f4 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() diff --git a/modules/signatures/android/android_embedded_apk.py b/modules/signatures/android/android_embedded_apk.py index 5179d11f..b2ff3358 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()