using odd veths for packet injection and sniffing in examples
This commit is contained in:
@@ -3,4 +3,4 @@ from scapy.all import *
|
||||
p = Ether(dst="aa:bb:cc:dd:ee:ff") / IP(dst="10.0.1.10") / TCP() / "aaaaaaaaaaaaaaaaaaa"
|
||||
# p.show()
|
||||
hexdump(p)
|
||||
sendp(p, iface = "veth0")
|
||||
sendp(p, iface = "veth1")
|
||||
|
||||
Reference in New Issue
Block a user