diff --git a/installer/cape2.sh b/installer/cape2.sh index 408239d6068..99327593f9e 100644 --- a/installer/cape2.sh +++ b/installer/cape2.sh @@ -53,7 +53,7 @@ librenms_megaraid_enable=0 # disabling this will result in the web interface being disabled MONGO_ENABLE=1 -DIE_VERSION="3.08" +DIE_VERSION="3.09" TOR_SOCKET_TIMEOUT="60" diff --git a/lib/cuckoo/common/demux.py b/lib/cuckoo/common/demux.py index 1367b2f3f7d..a2d64936796 100644 --- a/lib/cuckoo/common/demux.py +++ b/lib/cuckoo/common/demux.py @@ -163,6 +163,8 @@ def is_valid_type(magic: str) -> bool: def is_valid_package(package: str) -> bool: # check if the file has a valid package type + if not package: + return False return any(ptype in package for ptype in VALID_PACKAGES)