mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-28 23:28:55 +00:00
Merge pull request #131 from macmade/main
Chrome History - Cheking extracted URLs against indicators.
This commit is contained in:
commit
1bf7f54c72
|
@ -35,6 +35,14 @@ class ChromeHistory(IOSExtraction):
|
||||||
"data": f"{record['id']} - {record['url']} (visit ID: {record['visit_id']}, redirect source: {record['redirect_source']})"
|
"data": f"{record['id']} - {record['url']} (visit ID: {record['visit_id']}, redirect source: {record['redirect_source']})"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def check_indicators(self):
|
||||||
|
if not self.indicators:
|
||||||
|
return
|
||||||
|
|
||||||
|
for result in self.results:
|
||||||
|
if self.indicators.check_domain(result["url"]):
|
||||||
|
self.detected.append(result)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self._find_ios_database(backup_ids=CHROME_HISTORY_BACKUP_IDS, root_paths=CHROME_HISTORY_ROOT_PATHS)
|
self._find_ios_database(backup_ids=CHROME_HISTORY_BACKUP_IDS, root_paths=CHROME_HISTORY_ROOT_PATHS)
|
||||||
self.log.info("Found Chrome history database at path: %s", self.file_path)
|
self.log.info("Found Chrome history database at path: %s", self.file_path)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user