mirror of https://github.com/MISP/misp-modules
chg: [hashlookup] KnownMalicious field added
parent
b6e0c4ce53
commit
4162ccb528
|
@ -33,6 +33,8 @@ class HashlookupParser():
|
|||
hashlookup_object = MISPObject('hashlookup')
|
||||
if 'source' in self.hashlookupresult:
|
||||
hashlookup_object.add_attribute('source', **{'type': 'text', 'value': self.hashlookupresult['source']})
|
||||
if 'KnownMalicious' in self.hashlookupresult:
|
||||
hashlookup_object.add_attribute('KnownMalicious', **{'type': 'text', 'value': self.hashlookupresult['KnownMalicious']})
|
||||
hashlookup_object.add_attribute('MD5', **{'type': 'md5', 'value': self.hashlookupresult['MD5']})
|
||||
hashlookup_object.add_attribute('SHA-1', **{'type': 'sha1', 'value': self.hashlookupresult['SHA-1']})
|
||||
if 'SSDEEP' in self.hashlookupresult:
|
||||
|
|
Loading…
Reference in New Issue