first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled

This commit is contained in:
2025-09-06 16:08:15 +08:00
commit 63285f61aa
2624 changed files with 88491 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
FROM debian:jessie
LABEL maintainer="phithon <root@leavesongs.com>"
RUN set -ex \
&& apt-get -o Acquire::GzipIndexes=false update \
&& apt-get install -y --no-install-recommends apt-show-versions gdebi-core wget ca-certificates \
&& wget -O /tmp/webmin.deb https://sourceforge.net/projects/webadmin/files/webmin/1.910/webmin_1.910_all.deb/download \
&& gdebi -n /tmp/webmin.deb \
&& apt-get purge -y --auto-remove gdebi-core \
&& rm -rf /var/lib/apt/lists/* /tmp/webmin.deb
COPY docker-entrypoint.sh /
EXPOSE 10000
RUN set -ex \
&& sed -i 's/passwd_mode=.*/passwd_mode=2/' /etc/webmin/miniserv.conf \
&& chmod +x /docker-entrypoint.sh \
&& echo 'root:vulhub' | chpasswd
ENTRYPOINT ["/docker-entrypoint.sh"]

View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -ex
if [ $# -eq 0 ]; then
service webmin start
touch /var/webmin/miniserv.log
exec tail -f /var/webmin/miniserv.log
fi
exec "$@"