mirror of
https://github.com/mvt-project/mvt.git
synced 2024-07-02 17:08:58 +00:00
Compare commits
2 Commits
af28cbdbe2
...
7ff69b46b7
Author | SHA1 | Date | |
---|---|---|---|
|
7ff69b46b7 | ||
|
4681b57adc |
|
@ -69,9 +69,9 @@ class Calls(IOSExtraction):
|
|||
"isodate": convert_mactime_to_iso(row[0]),
|
||||
"duration": row[1],
|
||||
"location": row[2],
|
||||
"number": row[3].decode("utf-8")
|
||||
if row[3] and row[3] is bytes
|
||||
else row[3],
|
||||
"number": (
|
||||
row[3].decode("utf-8") if row[3] and row[3] is bytes else row[3]
|
||||
),
|
||||
"provider": row[4],
|
||||
}
|
||||
)
|
||||
|
|
|
@ -56,7 +56,9 @@ class SMSAttachments(IOSExtraction):
|
|||
def check_indicators(self) -> None:
|
||||
for attachment in self.results:
|
||||
# Check for known malicious filenames.
|
||||
if self.indicators.check_file_path(attachment["filename"]):
|
||||
if self.indicators and self.indicators.check_file_path(
|
||||
attachment["filename"]
|
||||
):
|
||||
self.detected.append(attachment)
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue
Block a user