mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-18 02:24:04 +00:00
Handle no indicators provided in sms_attachments.py
This commit is contained in:
parent
b2df17b4a0
commit
b22e75e88b
|
@ -54,6 +54,9 @@ class SMSAttachments(IOSExtraction):
|
||||||
}
|
}
|
||||||
|
|
||||||
def check_indicators(self) -> None:
|
def check_indicators(self) -> None:
|
||||||
|
if not self.indicators:
|
||||||
|
return
|
||||||
|
|
||||||
for attachment in self.results:
|
for attachment in self.results:
|
||||||
# Check for known malicious filenames.
|
# Check for known malicious filenames.
|
||||||
if self.indicators.check_file_path(attachment["filename"]):
|
if self.indicators.check_file_path(attachment["filename"]):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user