1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 01:46:02 +02:00
tldr/pages/common/sniff.py.md
Sebastiaan Speck 40b4e64363
impacket*: add missing Dutch translations and improve English pages (#16607)
* impacket*: add missing Dutch translations and improve English pages

* Fix tldr-bot issues

* Apply suggestions from code review

Co-authored-by: Leon <leonvsc@users.noreply.github.com>

---------

Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
Co-authored-by: Leon <leonvsc@users.noreply.github.com>
2025-05-28 21:41:12 +02:00

414 B

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 {{path/to/output_file}}