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:
parent
0a35d3d1e1
commit
c2b7132b4e
4 changed files with 48 additions and 0 deletions
9
pages/common/impacket-sniff.md
Normal file
9
pages/common/impacket-sniff.md
Normal 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`
|
9
pages/common/impacket-sniffer.md
Normal file
9
pages/common/impacket-sniffer.md
Normal 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
13
pages/common/sniff.py.md
Normal 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}}`
|
17
pages/common/sniffer.py.md
Normal file
17
pages/common/sniffer.py.md
Normal 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`
|
Loading…
Add table
Reference in a new issue