mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-28 15:18:55 +00:00
Minor style fixes
This commit is contained in:
parent
35559b09a8
commit
f8e380baa1
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user