Avancement arpspoof
This commit is contained in:
parent
d907d4df38
commit
86e69f5992
5 changed files with 40 additions and 7 deletions
|
@ -1,7 +1,15 @@
|
|||
FROM debian:bookworm-slim
|
||||
RUN apt-get update && apt-get install -y dsniff \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
FROM debian
|
||||
|
||||
|
||||
COPY ./ip_forward /usr/local/bin/ip_forward
|
||||
# CMD ["curl", "--insecure", "https://webserver/"]
|
||||
CMD ["dsniff", "-i", "eth0", "-w", "/tmp/dsniff.out"]
|
||||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue