From 201eeeb729522830b53158d38b3dcabf9f30ef0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sat, 28 Nov 2020 02:06:48 +0100 Subject: [PATCH] Update mispevent.py --- pymisp/mispevent.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pymisp/mispevent.py b/pymisp/mispevent.py index 0826b8c..37304ad 100644 --- a/pymisp/mispevent.py +++ b/pymisp/mispevent.py @@ -309,7 +309,10 @@ class MISPAttribute(AbstractMISP): @property def malware_binary(self) -> Optional[BytesIO]: - """Returns a BytesIO of the malware (if the attribute has one, obvs).""" + """Returns a BytesIO of the malware (if the attribute has one, obvs). + Note: The first call may be slow as it will decrypt the sample and this + operation can be very slow, especially if the malware sample is big (~1s/MB). + """ if self.type != 'malware-sample': # Not a malware sample return None