mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-29 07:39:00 +00:00
Merge branch 'mvt-project:main' into extract-key
This commit is contained in:
commit
99640ac08c
|
@ -43,10 +43,10 @@ class LocationdClients(IOSExtraction):
|
||||||
for ts in self.timestamps:
|
for ts in self.timestamps:
|
||||||
if ts in record.keys():
|
if ts in record.keys():
|
||||||
records.append({
|
records.append({
|
||||||
"timestamp": entry[ts],
|
"timestamp": record[ts],
|
||||||
"module": self.__class__.__name__,
|
"module": self.__class__.__name__,
|
||||||
"event": ts,
|
"event": ts,
|
||||||
"data": f"{ts} from {entry['package']}"
|
"data": f"{ts} from {record['package']}"
|
||||||
})
|
})
|
||||||
|
|
||||||
return records
|
return records
|
||||||
|
|
|
@ -70,6 +70,9 @@ class WebkitSessionResourceLog(IOSExtraction):
|
||||||
return domains
|
return domains
|
||||||
|
|
||||||
def check_indicators(self):
|
def check_indicators(self):
|
||||||
|
if not self.indicators:
|
||||||
|
return
|
||||||
|
|
||||||
for key, entries in self.results.items():
|
for key, entries in self.results.items():
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
source_domains = self._extract_domains(entry["redirect_source"])
|
source_domains = self._extract_domains(entry["redirect_source"])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user