mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-22 20:38:55 +00:00
Renamed webkit helper function
This commit is contained in:
parent
ce6cc771b4
commit
fda621672d
|
@ -22,7 +22,7 @@ class WebkitBase(IOSExtraction):
|
|||
if self.indicators.check_domain(item["url"]):
|
||||
self.detected.append(item)
|
||||
|
||||
def _database_from_path(self, root_paths):
|
||||
def _process_webkit_folder(self, root_paths):
|
||||
for found_path in self._find_paths(root_paths):
|
||||
key = os.path.relpath(found_path, self.base_folder)
|
||||
|
||||
|
|
|
@ -30,6 +30,6 @@ class WebkitIndexedDB(WebkitBase):
|
|||
}
|
||||
|
||||
def run(self):
|
||||
self._database_from_path(WEBKIT_INDEXEDDB_ROOT_PATHS)
|
||||
self._process_webkit_folder(WEBKIT_INDEXEDDB_ROOT_PATHS)
|
||||
self.log.info("Extracted a total of %d WebKit IndexedDB records",
|
||||
len(self.results))
|
||||
|
|
|
@ -28,6 +28,6 @@ class WebkitLocalStorage(WebkitBase):
|
|||
}
|
||||
|
||||
def run(self):
|
||||
self._database_from_path(WEBKIT_LOCALSTORAGE_ROOT_PATHS)
|
||||
self._process_webkit_folder(WEBKIT_LOCALSTORAGE_ROOT_PATHS)
|
||||
self.log.info("Extracted a total of %d records from WebKit Local Storages",
|
||||
len(self.results))
|
||||
|
|
|
@ -20,4 +20,6 @@ class WebkitSafariViewService(WebkitBase):
|
|||
log=log, results=results)
|
||||
|
||||
def run(self):
|
||||
self._database_from_path(WEBKIT_SAFARIVIEWSERVICE_ROOT_PATHS)
|
||||
self._process_webkit_folder(WEBKIT_SAFARIVIEWSERVICE_ROOT_PATHS)
|
||||
self.log.info("Extracted a total of %d records from WebKit SafariViewService WebsiteData",
|
||||
len(self.results))
|
||||
|
|
Loading…
Reference in New Issue
Block a user