weird-conf (latest)

Published 2026-04-09 20:58:56 +02:00 by Anrab35

Installation

docker pull git.gnous.eu/anrab35/weird-conf:latest
sha256:3ea68cf5efb7514d9b557197283b03162b0578ed893da67465d89f1fb863ccc6

Image layers

# debian.sh --arch 'amd64' out/ 'bullseye' '@1775433600'
WORKDIR /
COPY ctf-sandbox/ /opt/ctf-sandbox/ # buildkit
RUN /bin/sh -c chmod 764 /opt/ctf-sandbox/start # buildkit
RUN /bin/sh -c apt update # buildkit
RUN /bin/sh -c apt install --no-install-recommends -y git nano sudo curl wget python3 openssh-server vim # buildkit
RUN /bin/sh -c apt update && apt install apache2 -y # buildkit
RUN /bin/sh -c chmod -R 777 /etc/apache2/ # buildkit
RUN /bin/sh -c chown www-data:www-data /var/www/ # buildkit
RUN /bin/sh -c chmod -R 740 /var/www/ # buildkit
RUN /bin/sh -c chown -R www-data:www-data /var/log/apache2/ # buildkit
RUN /bin/sh -c chmod -R 777 /var/log/apache2/ # buildkit
RUN /bin/sh -c chown -R www-data:www-data /var/run/ # buildkit
RUN /bin/sh -c /bin/bash -c 'echo "ALL ALL=(www-data)NOPASSWD:/usr/sbin/service apache2 *" >> /etc/sudoers' # buildkit
COPY .bashrc /etc/skel/ # buildkit
RUN /bin/sh -c mkdir /flag/ # buildkit
COPY flag/.passwd /flag/ # buildkit
RUN /bin/sh -c chown -R www-data:www-data /flag/ # buildkit
RUN /bin/sh -c chmod -R 740 /flag/ # buildkit
ENV LANG=en_US.UTF-8
Details
Container
2026-04-09 20:58:56 +02:00
0
OCI / Docker
linux/amd64
148 MiB
Versions (1) View all
latest 2026-04-09