mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-10 05:34:12 +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 changed files with 5 additions and 0 deletions
|
@ -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 a new issue