Files
p4tutorials-turkce/examples/counter/send_one.py
2015-11-16 11:56:10 -08:00

5 lines
150 B
Python

from scapy.all import *
p = Ether(src="aa:bb:cc:dd:ee:ff") / IP(dst="10.0.1.10") / TCP() / "aaaaaaaaaaaaaaaa"
sendp(p, iface = "veth1", verbose = 0)