1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/sniffer.py.md

18 lines
432 B
Markdown
Raw Normal View History

# sniffer.py
> Capture and display network packets for specified protocols using raw sockets.
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- Capture packets for default protocols (ICMP, TCP, UDP):
`sniffer.py`
- Capture packets for specific protocols (e.g., ICMP, TCP):
`sniffer.py {{protocol1}} {{protocol2}}`
- Capture packets for specific protocols (e.g., TCP):
`sniffer.py tcp`