MCPcopy Create free account
hub / github.com/secdev/scapy / sniff

Function sniff

scapy/sendrecv.py:1435–1439  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1433
1434@conf.commands.register
1435def sniff(*args, **kwargs):
1436 # type: (*Any, **Any) -> PacketList
1437 sniffer = AsyncSniffer()
1438 sniffer._run(*args, **kwargs)
1439 return cast(PacketList, sniffer.results)
1440
1441
1442sniff.__doc__ = AsyncSniffer.__doc__

Callers 12

sniffMethod · 0.90
voip_playFunction · 0.90
voip_play2Function · 0.90
voip_play3Function · 0.90
p0f_getlocalsigsFunction · 0.90
_NDP_Attack_DAD_DoSFunction · 0.90
NDP_Attack_NA_SpoofingFunction · 0.90
NDP_Attack_Fake_RouterFunction · 0.90
sniffMethod · 0.90
bridge_and_sniffFunction · 0.85
tsharkFunction · 0.85

Calls 2

_runMethod · 0.95
AsyncSnifferClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…