Day 21 code

This commit is contained in:
2023-12-27 02:02:54 +01:00
parent bfa7d360fb
commit 2a1e91bd34
4 changed files with 208 additions and 0 deletions

10
Day 21/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
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\""]