working
This commit is contained in:
17
cscg25/rev/intro1/Dockerfile
Normal file
17
cscg25/rev/intro1/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# run via docker compose :)
|
||||
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get -y install socat
|
||||
RUN useradd -d /home/ctf/ -m -p ctf -s /bin/bash ctf
|
||||
RUN echo "ctf:ctf" | chpasswd
|
||||
|
||||
WORKDIR /home/ctf
|
||||
|
||||
COPY rev1 .
|
||||
COPY flag.txt .
|
||||
|
||||
USER ctf
|
||||
CMD socat -ddd TCP4-LISTEN:1024,fork,reuseaddr exec:./rev1,pty,echo=0,raw,iexten=0
|
||||
BIN
cscg25/rev/intro1/README.pdf
Normal file
BIN
cscg25/rev/intro1/README.pdf
Normal file
Binary file not shown.
BIN
cscg25/rev/intro1/README_german.pdf
Normal file
BIN
cscg25/rev/intro1/README_german.pdf
Normal file
Binary file not shown.
1
cscg25/rev/intro1/flag.txt
Normal file
1
cscg25/rev/intro1/flag.txt
Normal file
@@ -0,0 +1 @@
|
||||
CSCG{testflag}
|
||||
BIN
cscg25/rev/intro1/rev1
Executable file
BIN
cscg25/rev/intro1/rev1
Executable file
Binary file not shown.
Reference in New Issue
Block a user