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`