This commit is contained in:
2025-02-26 20:14:15 +01:00
parent 2a053eb9ca
commit e9e0fb20c2
22 changed files with 652 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
# docker build -t dreamer . && docker run --rm -p 1337:1337 --name dreamer -dit dreamer
FROM archlinux:latest
RUN pacman -Sy --noconfirm socat gcc
WORKDIR /app
COPY dream /app/
RUN chmod +x /app/dream
ARG FLAG=GPNCTF{fake_flag}
RUN echo "$FLAG" > flag.txt
EXPOSE 1337
ENTRYPOINT [ "socat", "tcp-l:1337,reuseaddr,fork", "EXEC:./dream,stderr" ]