mirror of
https://github.com/mvt-project/mvt.git
synced 2026-04-21 19:26:23 +02:00
Minor style fixes
This commit is contained in:
@@ -44,7 +44,6 @@ class Filesystem(IOSExtraction):
|
||||
# If we are instructed to run fast, we skip this.
|
||||
if self.fast_mode:
|
||||
self.log.info("Flag --fast was enabled: skipping extended search for suspicious files/processes")
|
||||
|
||||
else:
|
||||
for ioc in self.indicators.ioc_processes:
|
||||
parts = result["path"].split("/")
|
||||
|
||||
@@ -40,7 +40,7 @@ class NetworkingAnalytics(IOSExtraction):
|
||||
for key in result.keys():
|
||||
if ioc == result[key]:
|
||||
self.log.warning("Found mention of a known malicious process \"%s\" in networking_analytics.db at %s",
|
||||
ioc, result["timestamp"])
|
||||
ioc, result["timestamp"])
|
||||
self.detected.append(result)
|
||||
break
|
||||
|
||||
@@ -84,8 +84,8 @@ class NetworkingAnalytics(IOSExtraction):
|
||||
|
||||
def run(self):
|
||||
self._find_ios_database(root_paths=NETWORKING_ANALYTICS_DB_PATH)
|
||||
if (self.file_path):
|
||||
if self.file_path:
|
||||
self.log.info("Found networking_analytics.db log at path: %s", self.file_path)
|
||||
self._extract_networking_analytics_data()
|
||||
else:
|
||||
self.log.info("networking_analytics.db not found")
|
||||
self.log.info("networking_analytics.db not found")
|
||||
|
||||
Reference in New Issue
Block a user