Day 21 code
This commit is contained in:
10
Day 21/Dockerfile
Normal file
10
Day 21/Dockerfile
Normal 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\""]
|
||||
Reference in New Issue
Block a user