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

22
tldr/sniffer.py Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# sniffer.py
> Capture and display network packets for specified protocols using raw sockets.
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- 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`