From 7d1c0cebad471474f6d55a4ad1b2aff881562cb3 Mon Sep 17 00:00:00 2001 From: ice Date: Thu, 9 Oct 2025 15:23:32 +0200 Subject: [PATCH] Fix decoding of service output that might result in crashes --- ataka/executor/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ataka/executor/jobs.py b/ataka/executor/jobs.py index 221a64d..c126b20 100644 --- a/ataka/executor/jobs.py +++ b/ataka/executor/jobs.py @@ -208,7 +208,7 @@ async def exec_in_container_and_poll_output(): if message is None: break - yield message[0], message[1].decode() + yield message[0], message[1].decode(errors='ignore') except DockerError as e: print(f"DOCKER EXECUTION ERROR for {execution.exploit.id} (service {execution.exploit.service}) " \ f"by {execution.exploit.author} against target {execution.target.ip}\n" \