Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-14 00:18:08 +00:00
parent 904f7fe0c1
commit 605e1cdfd8
20 changed files with 97 additions and 68 deletions

View File

@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
- List available network interfaces:
`tcpdump -D`
`tcpdump {{[-D|--list-interfaces]}}`
- Capture the traffic of a specific interface:
`tcpdump -i {{eth0}}`
`sudo tcpdump {{[-i|--interface]}} {{eth0}}`
- Capture all TCP traffic showing contents (ASCII) in console:
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Capture the traffic from a specific interface, source, destination and destination port:
`tcpdump -i {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port {{80}}`
`tcpdump {{[-i|--interface]} {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port {{80}}`
- Capture the traffic of a network: