Packs / tshark Recipes
Pack 05
tshark Recipes
20 practical commands for capturing and analysing traffic with Wireshark's command line
For cyber students, SOC analysts, homelabbers and junior network staff who want Wireshark's analysis from the command line. Twenty recipes cover capture and display filters, finding retransmissions and unanswered connections, exporting fields to CSV, looking inside DNS, HTTP, TLS and SSH, and pulling files out of traffic. Every recipe was run on an isolated lab network and shows the real output, with the tshark version and test date.

What you get
- tshark Recipes PDF: 20 recipes
- One-page tshark cheat sheet PDF
- Edition 1
What it covers
- Capture and filter traffic
- Pull fields into CSV
- Look inside DNS, HTTP, TLS and SSH
- Summarise, follow streams and extract files
Tested on
- Tool
- tshark 4.6.9
- System
- Kali GNU/Linux Rolling
- Lab runs
- 24 Nov 2026, on an isolated lab network
Only capture on networks you own or have written permission to monitor.

The 20 recipes
Capturing traffic
- 01Find the interface to capture on
- 02Capture to a file, with a packet limit
- 03Capture filter or display filter: see the difference
- 04Capture for days with a ring buffer
Reading and filtering captures
- 05Read a saved capture and filter it
- 06Filter by host, port and protocol
- 07Find retransmissions and resets
- 08Find connection attempts that got no reply
Pulling out fields
- 09Print only the fields you need
- 10Export fields to CSV for a spreadsheet
Looking inside protocols
- 11See DNS queries and their answers
- 12List HTTP requests: method, host and URI
- 13See the site name and TLS version in HTTPS
- 14See SSH versions and the key exchange
Summaries and statistics
- 15Get an overview: what's in this capture?
- 16See who talked to whom
- 17List every TCP endpoint
- 18Count traffic over time
Rebuilding conversations and files
- 19Follow a TCP stream as text
- 20Pull files out of HTTP traffic
Also in a bundle
- Network Toolkit Bundle · 5 packs for US$42
- The Complete Collection · 8 packs for US$55