Hackvent_2023/Day 16/Dockerfile
2023-12-20 15:47:13 +01:00

12 lines
195 B
Docker

FROM ubuntu:23.04
RUN apt update && apt -y upgrade
RUN apt install -y socat
COPY . .
RUN chmod +x vuln
RUN chmod +x magic.sh
ENTRYPOINT socat TCP-LISTEN:1337,reuseaddr,fork EXEC:'./vuln',raw