From c2b7132b4ee6fe48ed61b50e0084215bced53b96 Mon Sep 17 00:00:00 2001 From: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> Date: Sun, 16 Mar 2025 14:01:15 +0200 Subject: [PATCH] sniff.py, sniffer.py, impacket-{sniff, sniffer}: add page (#15945) --- pages/common/impacket-sniff.md | 9 +++++++++ pages/common/impacket-sniffer.md | 9 +++++++++ pages/common/sniff.py.md | 13 +++++++++++++ pages/common/sniffer.py.md | 17 +++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 pages/common/impacket-sniff.md create mode 100644 pages/common/impacket-sniffer.md create mode 100644 pages/common/sniff.py.md create mode 100644 pages/common/sniffer.py.md diff --git a/pages/common/impacket-sniff.md b/pages/common/impacket-sniff.md new file mode 100644 index 0000000000..3d5de380fd --- /dev/null +++ b/pages/common/impacket-sniff.md @@ -0,0 +1,9 @@ +# impacket-sniff + +> This command is an alias of `sniff.py`. +> Part of the Impacket suite. +> More information: . + +- View documentation for the original command: + +`tldr sniff.py` diff --git a/pages/common/impacket-sniffer.md b/pages/common/impacket-sniffer.md new file mode 100644 index 0000000000..27dfa5368c --- /dev/null +++ b/pages/common/impacket-sniffer.md @@ -0,0 +1,9 @@ +# impacket-sniffer + +> This command is an alias of `sniffer.py`. +> Part of the Impacket suite. +> More information: . + +- View documentation for the original command: + +`tldr sniffer.py` diff --git a/pages/common/sniff.py.md b/pages/common/sniff.py.md new file mode 100644 index 0000000000..775ceb41e6 --- /dev/null +++ b/pages/common/sniff.py.md @@ -0,0 +1,13 @@ +# sniff.py + +> Capture and display network packets using the pcapy library. +> Part of the Impacket suite. +> More information: . + +- 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}}` diff --git a/pages/common/sniffer.py.md b/pages/common/sniffer.py.md new file mode 100644 index 0000000000..428d3efde1 --- /dev/null +++ b/pages/common/sniffer.py.md @@ -0,0 +1,17 @@ +# sniffer.py + +> Capture and display network packets for specified protocols using raw sockets. +> Part of the Impacket suite. +> More information: . + +- 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`