From c1cf7eb08e7ff0bb0257ef264332861741dab25f Mon Sep 17 00:00:00 2001 From: doomedraven Date: Thu, 6 Nov 2025 13:05:44 +0100 Subject: [PATCH 1/3] Update startup.py --- lib/cuckoo/core/startup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cuckoo/core/startup.py b/lib/cuckoo/core/startup.py index cdac1e19496..9f433c7a09b 100644 --- a/lib/cuckoo/core/startup.py +++ b/lib/cuckoo/core/startup.py @@ -350,8 +350,10 @@ def check_snapshot_state(): continue try: - domain = conn.lookupByName(machine_name) machine_config = machinery_config.get(machine_name) + machine_name = machine_config.get("label") + domain = conn.lookupByName(machine_name) + # Check for valid architecture configuration. arch = machine_config.get("arch") From fc099b9dc3b0e77b10dd59479f7ff4ffd24cfcd5 Mon Sep 17 00:00:00 2001 From: doomedraven Date: Thu, 6 Nov 2025 13:11:39 +0100 Subject: [PATCH 2/3] Fix path handling for SHA256 calculation --- modules/processing/pcapng.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/processing/pcapng.py b/modules/processing/pcapng.py index f33fb5ec621..351cd76679d 100644 --- a/modules/processing/pcapng.py +++ b/modules/processing/pcapng.py @@ -30,4 +30,4 @@ def run(self) -> dict[str, str | None]: if not is_pcapng(self.pcapng_path): log.warning("generated pcapng file is not valid: %s", self.pcapng_path) return {} - return {"sha256": File(self.pcapng_path).get_sha256()} + return {"sha256": File(str(self.pcapng_path)).get_sha256()} From a088fcadb01e4b08fec925dc0b40b00d1bb838ca Mon Sep 17 00:00:00 2001 From: doomedraven Date: Thu, 6 Nov 2025 14:14:19 +0100 Subject: [PATCH 3/3] Update startup.py --- lib/cuckoo/core/startup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/cuckoo/core/startup.py b/lib/cuckoo/core/startup.py index 9f433c7a09b..257d29579d6 100644 --- a/lib/cuckoo/core/startup.py +++ b/lib/cuckoo/core/startup.py @@ -353,8 +353,6 @@ def check_snapshot_state(): machine_config = machinery_config.get(machine_name) machine_name = machine_config.get("label") domain = conn.lookupByName(machine_name) - - # Check for valid architecture configuration. arch = machine_config.get("arch") if not arch: