snippetbashTip
sniff.py — Capture and display network packets using the `pcapy` library. Part of the Impacket suite. More info
Viewed 0 times
sniff.pycommandandnetworkclicapturepacketsdisplay
Problem
How to use the
sniff.py command: Capture and display network packets using the pcapy library. Part of the Impacket suite. More information: <https://github.com/fortra/impacket>.Solution
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.pyCapture packets and save output to a file while displaying it on the terminal:
sudo sniff.py | sudo tee {{path/to/output_file}}Code Snippets
List available network interfaces and select one to start capturing packets (requires `sudo`)
sudo sniff.pyCapture packets and save output to a file while displaying it on the terminal
sudo sniff.py | sudo tee {{path/to/output_file}}Context
tldr-pages: common/sniff.py
Revisions (0)
No revisions yet.