mirror of
https://github.com/mvt-project/mvt.git
synced 2024-07-01 08:29:03 +00:00
Improves module handling
This commit is contained in:
parent
06bf7b9cb1
commit
2942209f62
|
@ -185,6 +185,10 @@ def run_module(module: MVTModule) -> None:
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
module.log.info("The %s module does not support checking for indicators",
|
module.log.info("The %s module does not support checking for indicators",
|
||||||
module.__class__.__name__)
|
module.__class__.__name__)
|
||||||
|
except Exception as exc:
|
||||||
|
module.log.exception("Error when checking indicators from module %s: %s",
|
||||||
|
module.__class__.__name__, exc)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if module.indicators and not module.detected:
|
if module.indicators and not module.detected:
|
||||||
module.log.info("The %s module produced no detections!",
|
module.log.info("The %s module produced no detections!",
|
||||||
|
|
|
@ -34,7 +34,6 @@ class IOSExtraction(MVTModule):
|
||||||
|
|
||||||
self.is_backup = False
|
self.is_backup = False
|
||||||
self.is_fs_dump = False
|
self.is_fs_dump = False
|
||||||
self.is_sysdiagnose = False
|
|
||||||
|
|
||||||
def _recover_sqlite_db_if_needed(self, file_path: str,
|
def _recover_sqlite_db_if_needed(self, file_path: str,
|
||||||
forced: Optional[bool] = False) -> None:
|
forced: Optional[bool] = False) -> None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user