diff --git a/lib/cuckoo/common/demux.py b/lib/cuckoo/common/demux.py index e2cb00abd9b..acaf0b93445 100644 --- a/lib/cuckoo/common/demux.py +++ b/lib/cuckoo/common/demux.py @@ -230,7 +230,7 @@ def demux_sflock(filename: bytes, options: str, check_shellcode: bool = True): retlist.append(tmp_child) except Exception as e: log.error(e, exc_info=True) - return list(filter(None, retlist)), "" + return retlist, "" def demux_sample(filename: bytes, package: str, options: str, use_sflock: bool = True, platform: str = ""): # -> tuple[bytes, str]: diff --git a/lib/cuckoo/common/objects.py b/lib/cuckoo/common/objects.py index 18ac7698eea..d905ce42008 100644 --- a/lib/cuckoo/common/objects.py +++ b/lib/cuckoo/common/objects.py @@ -460,6 +460,8 @@ def init_yara(self, raise_exception: bool = False): continue for category_root, _, filenames in os.walk(category_root, followlinks=True): + if category_root.endswith("deprecated"): + continue for filename in filenames: if not filename.endswith((".yar", ".yara")): continue diff --git a/web/templates/analysis/generic/_file_info.html b/web/templates/analysis/generic/_file_info.html index e3cf68f941b..b8b07fa371e 100644 --- a/web/templates/analysis/generic/_file_info.html +++ b/web/templates/analysis/generic/_file_info.html @@ -16,6 +16,12 @@ {% endif %} + {% if file.note %} +
Note | +{{subfile.note}} | +
---|---|
Type |