1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 10:15:26 +02:00

sniff.py, sniffer.py, impacket-{sniff, sniffer}: add page (#15945)

This commit is contained in:
Machiavelli 2025-03-16 14:01:15 +02:00 committed by GitHub
parent 0a35d3d1e1
commit c2b7132b4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# impacket-sniff
> This command is an alias of `sniff.py`.
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- View documentation for the original command:
`tldr sniff.py`

View file

@ -0,0 +1,9 @@
# impacket-sniffer
> This command is an alias of `sniffer.py`.
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- View documentation for the original command:
`tldr sniffer.py`

13
pages/common/sniff.py.md Normal file
View file

@ -0,0 +1,13 @@
# sniff.py
> Capture and display network packets using the pcapy library.
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- List available network interfaces and select one to start capturing packets (requires `sudo`):
`sudo sniff.py`
- Capture packets and save output to a file while displaying it on the terminal:
`sudo sniff.py | sudo tee {{output_file}}`

View file

@ -0,0 +1,17 @@
# 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`