Hackvent_2023/Day 21/Dockerfile
2023-12-27 02:02:54 +01:00

11 lines
290 B
Docker

FROM docker.io/library/ubuntu:23.04
RUN apt update && apt -y upgrade curl python3 gdb binutils elfutils file && bash -c "$(curl -fsSL https://gef.blah.cat/sh)"
RUN apt install -y socat
COPY . .
RUN chmod +x vuln
ENTRYPOINT ["socat", "TCP-LISTEN:1337,reuseaddr,fork", "EXEC:\"./vuln\""]