mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-12-18 10:56:09 +00:00
Adding a new command to the Tshark cheat-sheet
It's not a big deal, but Tshark can print a list of interfaces on which it can capture packets ! So yeah, I wanted to add it. :-)
This commit is contained in:
parent
00094edf4e
commit
152c18c7d1
@ -1,10 +1,15 @@
|
||||
# Tshark Cheat Sheet
|
||||
|
||||
## List interfaces on which Tshark can capture
|
||||
```
|
||||
tshark -D
|
||||
```
|
||||
|
||||
## Capture Packets with Tshark
|
||||
```
|
||||
tshark -i eth0 -w capture-file.pcap
|
||||
```
|
||||
|
||||
## Read a Pcap with Tshark
|
||||
```
|
||||
tshark -r capture-file.pcap
|
||||
|
Loading…
Reference in New Issue
Block a user