From e0f9195b9e67a0de7ac6ab50debbaa6b3fe07bf8 Mon Sep 17 00:00:00 2001 From: mradigen <55953083+mradigen@users.noreply.github.com> Date: Mon, 16 Sep 2024 00:31:00 +0530 Subject: [PATCH] fix: Remove /bin/bash --- src/pwncore/routes/ctf/start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pwncore/routes/ctf/start.py b/src/pwncore/routes/ctf/start.py index fa80848..44d696d 100644 --- a/src/pwncore/routes/ctf/start.py +++ b/src/pwncore/routes/ctf/start.py @@ -87,7 +87,7 @@ async def start_docker_container(ctf_id: int, response: Response, jwt: RequireJw ) await ( - await container.exec(["/bin/bash", "/root/gen_flag", container_flag]) + await container.exec(["/root/gen_flag", container_flag]) ).start(detach=True) try: