19 lines
528 B
Text
19 lines
528 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/* \
|
|
&& 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
|
|
|