Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-17 00:19:24 +00:00
parent 07c7ca9e90
commit 9cdd033c95
6 changed files with 80 additions and 8 deletions

18
tldr/sniff.py Normal file
View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`