From b46c9f6f3ef5b898231a93845a1bfb2060cb6eef Mon Sep 17 00:00:00 2001 From: glacialcascade <11969863+glacialcascade@users.noreply.github.com> Date: Mon, 10 Jun 2024 08:11:21 -0400 Subject: [PATCH] add user --- mathjail/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mathjail/Dockerfile b/mathjail/Dockerfile index efc5500..b4965da 100644 --- a/mathjail/Dockerfile +++ b/mathjail/Dockerfile @@ -10,5 +10,9 @@ RUN wget -O ynetd.c \ COPY ./flag.txt . COPY ./pycalculator.py . + +RUN adduser ctf +USER ctf + EXPOSE 3000 ENTRYPOINT ["./ynetd", "-p", "3000", "python3 ./pycalculator.py 2>&1"] \ No newline at end of file