Skip to content

Commit

Permalink
Merge pull request #51 from mradigen/master
Browse files Browse the repository at this point in the history
Remove /bin/bash
mradigen authored Sep 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 1ef1dda + ecb060e commit 2b70572
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
@@ -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:

0 comments on commit 2b70572

Please sign in to comment.