mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [MISP Export] fix Decoded objects export
This commit is contained in:
parent
0cbcf28818
commit
7bc2b16fd9
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class Decoded(AbstractDaterangeObject):
|
|||
|
||||
obj_attrs.append(obj.add_attribute('sha1', value=self.id))
|
||||
obj_attrs.append(obj.add_attribute('mimetype', value=self.get_mimetype()))
|
||||
obj_attrs.append(obj.add_attribute('malware-sample', value=self.id, data=self.get_content()))
|
||||
obj_attrs.append(obj.add_attribute('malware-sample', value=self.id, data=self.get_content(r_type='bytes')))
|
||||
for obj_attr in obj_attrs:
|
||||
for tag in self.get_tags():
|
||||
obj_attr.add_tag(tag)
|
||||
|
|
Loading…
Reference in a new issue