Improves module handling

This commit is contained in:
tek 2023-04-07 12:25:01 +02:00
parent 06bf7b9cb1
commit 2942209f62
2 changed files with 4 additions and 1 deletions

View File

@ -185,6 +185,10 @@ def run_module(module: MVTModule) -> None:
except NotImplementedError:
module.log.info("The %s module does not support checking for indicators",
module.__class__.__name__)
except Exception as exc:
module.log.exception("Error when checking indicators from module %s: %s",
module.__class__.__name__, exc)
else:
if module.indicators and not module.detected:
module.log.info("The %s module produced no detections!",

View File

@ -34,7 +34,6 @@ class IOSExtraction(MVTModule):
self.is_backup = False
self.is_fs_dump = False
self.is_sysdiagnose = False
def _recover_sqlite_db_if_needed(self, file_path: str,
forced: Optional[bool] = False) -> None: