mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-10-01 01:25:43 -04: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
|
# Tshark Cheat Sheet
|
||||||
|
|
||||||
|
## List interfaces on which Tshark can capture
|
||||||
|
```
|
||||||
|
tshark -D
|
||||||
|
```
|
||||||
|
|
||||||
## Capture Packets with Tshark
|
## Capture Packets with Tshark
|
||||||
```
|
```
|
||||||
tshark -i eth0 -w capture-file.pcap
|
tshark -i eth0 -w capture-file.pcap
|
||||||
```
|
```
|
||||||
|
|
||||||
## Read a Pcap with Tshark
|
## Read a Pcap with Tshark
|
||||||
```
|
```
|
||||||
tshark -r capture-file.pcap
|
tshark -r capture-file.pcap
|
||||||
|
Loading…
Reference in New Issue
Block a user