From babb04cbc28443f91a843204b8a14617d9a3007a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 30 Nov 2020 09:53:49 +0100 Subject: [PATCH] chg: Improve documentation of MISPAttribute.malware_binary --- pymisp/mispevent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pymisp/mispevent.py b/pymisp/mispevent.py index 00e7ce8..3366faa 100644 --- a/pymisp/mispevent.py +++ b/pymisp/mispevent.py @@ -309,9 +309,9 @@ class MISPAttribute(AbstractMISP): @property def malware_binary(self) -> Optional[BytesIO]: - """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). + """Returns a BytesIO of the malware, if the attribute has one. + Decrypts, unpacks and caches the binary on the first invocation, + which may require some time for large attachments (~1s/MB). """ if self.type != 'malware-sample': # Not a malware sample