CSE545_SS_Work/3.08/scapy_ether.py
2024-09-15 23:20:29 -07:00

7 lines
139 B
Python

from scapy.all import *
l2=Ether(src='a6:cb:ec:88:05:5e', dst='cc:cc:cc:cc:cc:cc', type=0xFFFF)
pkt=l2
ans, unans=srp(pkt, iface='eth0')