From 10cd44b01dae75e0ce1058f37a580338421592d1 Mon Sep 17 00:00:00 2001 From: - <-@-> Date: Wed, 1 May 2024 04:44:59 +0300 Subject: [PATCH] Less looking around blindly during LFI --- web/portal/setup/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/portal/setup/Dockerfile b/web/portal/setup/Dockerfile index acfb640..c633c67 100644 --- a/web/portal/setup/Dockerfile +++ b/web/portal/setup/Dockerfile @@ -13,7 +13,9 @@ COPY flag.txt /app COPY app.py /app COPY app-dev-version-abccdef.py /app +RUN echo '#app:x:999:999::/app:/bin/false' >> /etc/passwd + EXPOSE 3000 # Command to start services -CMD python3 app-dev-version-abccdef.py & python3 app.py \ No newline at end of file +CMD python3 app-dev-version-abccdef.py & python3 app.py