initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
FROM ubuntu
|
||||
|
||||
RUN mkdir /src
|
||||
WORKDIR /src
|
||||
COPY call_me_maybe.c .
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y build-essential
|
||||
|
||||
RUN gcc -fno-stack-protector -o call_me_maybe call_me_maybe.c
|
||||
RUN cp /src/call_me_maybe /
|
||||
RUN rm -r /src
|
||||
RUN chmod +x /call_me_maybe
|
||||
RUN useradd ctf
|
||||
|
||||
USER ctf
|
||||
CMD ["/call_me_maybe"]
|
||||
Reference in New Issue
Block a user