2025-04-03 20:36:56 -06:00
|
|
|
# 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):
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`sniffer.py {{protocol1 protocol2 ...}}`
|
2025-04-03 20:36:56 -06:00
|
|
|
|
|
|
|
|
- Capture packets for specific protocols (e.g., TCP):
|
|
|
|
|
|
|
|
|
|
`sniffer.py tcp`
|