mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [tracker] fix yara content error on empty message
This commit is contained in:
parent
dc0545dfd0
commit
27b2679ba6
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ class Tracker_Yara(AbstractModule):
|
|||
return None
|
||||
|
||||
content = self.obj.get_content(r_type='bytes')
|
||||
if not content:
|
||||
return None
|
||||
|
||||
try:
|
||||
yara_match = self.rules[obj_type].match(data=content, callback=self.yara_rules_match,
|
||||
|
|
Loading…
Reference in a new issue