Initial Commit

This commit is contained in:
2025-06-23 16:42:16 +02:00
commit cc7f8bcba8
16 changed files with 341 additions and 0 deletions

30
vulnbox/DOCKERFILE Normal file
View File

@@ -0,0 +1,30 @@
FROM alpine
ENV PATH "$PATH:/docker-bin"
RUN apk update && apk upgrade
RUN apk add nginx openssh openrc \
nano openssl git nginx-mod-stream \
nginx-mod-http-headers-more \
tcpdump
# NGINX
RUN adduser -D -g 'www' www
RUN mkdir /www
RUN chown -R www:www /var/lib/nginx
RUN chown -R www:www /www
RUN cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.orig
# SSHD
RUN rc-update add sshd
RUN touch /run/openrc/softlevel
COPY ./ssh/sshd_config /etc/ssh/sshd_config
WORKDIR /docker-bin
COPY ./helper-scripts /docker-bin
RUN chmod +x /docker-bin/*