spf-dkim-dmarc-demo/attacker/Dockerfile

29 lines
522 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM alpine:latest
WORKDIR /home/attaquant
RUN adduser -D attaquant
RUN apk add \
bash \
bind-tools \
curl \
ncurses-terminfo-base \
opendkim-libs \
opendkim-utils \
perl \
python3 \
py3-dnspython \
py3-pip \
py3-rich
RUN pip install dkimpy
# TODO mettre un bashrc qui positionne un prompt qui montre bien quon est
# en train dêtre méchant
USER attaquant
ENTRYPOINT ["/bin/bash"]
COPY --chown=attaquant scripts /home/attaquant/scripts