Add README.md, {nc,telnet,pwn}-tasks
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM alpine:3.20
|
||||
|
||||
RUN apk add --no-cache bash socat
|
||||
|
||||
WORKDIR /app
|
||||
COPY handler.sh .
|
||||
RUN chmod +x handler.sh
|
||||
EXPOSE 1337
|
||||
|
||||
CMD ["socat", "-T", "30", "TCP-LISTEN:1337,reuseaddr,fork", "EXEC:./handler.sh"]
|
||||
Reference in New Issue
Block a user