#! /usr/bin/env python3

from scapy.all import wrpcap,sniff

packets = sniff(count=10)
packets
wrpcap('sniffed.pcap', packets)

34d007ec8d3ecfb2bdf9de9ca3ba07e2c2f86c55
<mask token>

<mask token>
packets
wrpcap('sniffed.pcap', packets)

<mask token>
packets = sniff(count=10)
packets
wrpcap('sniffed.pcap', packets)

from scapy.all import wrpcap, sniff
packets = sniff(count=10)
packets
wrpcap('sniffed.pcap', packets)

#! /usr/bin/env python3

from scapy.all import wrpcap,sniff

packets = sniff(count=10)
packets
wrpcap('sniffed.pcap', packets)
