MCPcopy Index your code
hub / github.com/secdev/scapy / wireshark

Function wireshark

scapy/utils.py:2927–2936  ·  view source on GitHub ↗

Runs Wireshark on a list of packets. See :func:`tcpdump` for more parameter description. Note: this defaults to wait=False, to run Wireshark in the background.

(pktlist, wait=False, **kwargs)

Source from the content-addressed store, hash-verified

2925
2926@conf.commands.register
2927def wireshark(pktlist, wait=False, **kwargs):
2928 # type: (List[Packet], bool, **Any) -> Optional[Any]
2929 """
2930 Runs Wireshark on a list of packets.
2931
2932 See :func:`tcpdump` for more parameter description.
2933
2934 Note: this defaults to wait=False, to run Wireshark in the background.
2935 """
2936 return tcpdump(pktlist, prog=conf.prog.wireshark, wait=wait, **kwargs)
2937
2938
2939@conf.commands.register

Callers

nothing calls this directly

Calls 1

tcpdumpFunction · 0.85

Tested by

no test coverage detected