Skip to content

Commit

Permalink
fix: Remove /bin/bash
Browse files Browse the repository at this point in the history
  • Loading branch information
mradigen committed Sep 15, 2024
1 parent f8cc695 commit e0f9195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pwncore/routes/ctf/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e0f9195

Please sign in to comment.