python - Scapy - sniffing 2 interfaces out of three -
i'm using scapy 2.2.0 , python 2.6 sniff on windows 7. know can supply iface
parameter sniff
function. example:
sniff(count=5,iface = 'eth0', prn=lambda p:p.show())
if don't supply parameter, sniffs in interfaces. there way choose 2 out of 3 interfaces? this: (it doesn't work)
sniff(count=5, iface='eth0, eth14', prn=lambda p:p.show())
you use threads in python , sniff each interface in different thread:
Comments
Post a Comment