diff --git a/lib/lokilogger.py b/lib/lokilogger.py index 71f10453..bdae80a7 100644 --- a/lib/lokilogger.py +++ b/lib/lokilogger.py @@ -15,7 +15,7 @@ import socket from .helpers import removeNonAsciiDrop -__version__ = '0.44.0' +__version__ = '0.44.1' # Logger Class ----------------------------------------------------------------- diff --git a/loki.py b/loki.py index 1ba93983..66e662ce 100644 --- a/loki.py +++ b/loki.py @@ -491,7 +491,8 @@ def scan_data(self, fileData, fileType="-", fileName=b"-", filePath=b"-", extens 'filepath': filePath.decode('utf-8'), 'extension': extension, 'filetype': fileType, - 'md5': md5 + 'md5': md5, + 'owner': "dummy" }) # If matched @@ -1124,6 +1125,7 @@ def initialize_yara_rules(self): 'extension': dummy, 'filetype': dummy, 'md5': dummy, + 'owner': dummy, }) logger.log("DEBUG", "Init", "Initializing Yara rule %s" % file) rule_count += 1 @@ -1151,7 +1153,8 @@ def initialize_yara_rules(self): 'filepath': dummy, 'extension': dummy, 'filetype': dummy, - 'md5': dummy + 'md5': dummy, + 'owner': dummy, }) logger.log("INFO", "Init", "Initialized %d Yara rules" % rule_count) except Exception as e: