From f75451c01cac83a87132c36d79bb003681d2437f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donncha=20=C3=93=20Cearbhaill?= Date: Sun, 22 Nov 2026 13:20:13 +0100 Subject: [PATCH] Propagate the module filter to the AndroidQF nested commands mvt-android check-androidqf -m MODULE filtered only the top-level AndroidQF modules: when the archive holds bugreport.zip, backup.ab or an intrusion_logs folder the nested commands were built without module_name, so every nested module ran regardless of the filter. Pass self.module_name to all three nested commands; a filter naming an AndroidQF module now runs exactly that module, and a filter naming a nested module selects it from the nested command. --- src/mvt/android/cmd_check_androidqf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mvt/android/cmd_check_androidqf.py b/src/mvt/android/cmd_check_androidqf.py index a86e643e..ae2efba0 100644 --- a/src/mvt/android/cmd_check_androidqf.py +++ b/src/mvt/android/cmd_check_androidqf.py @@ -259,6 +259,7 @@ class CmdAndroidCheckAndroidQF(Command): hashes=self.hashes, sub_command=True, custom_modules=self.custom_modules, + module_name=self.module_name, ) cmd.from_zip(bugreport) cmd.run() @@ -290,6 +291,7 @@ class CmdAndroidCheckAndroidQF(Command): hashes=self.hashes, sub_command=True, custom_modules=self.custom_modules, + module_name=self.module_name, ) try: cmd.from_ab(backup) @@ -376,6 +378,7 @@ class CmdAndroidCheckAndroidQF(Command): hashes=self.hashes, sub_command=True, custom_modules=self.custom_modules, + module_name=self.module_name, ) cmd.run()