Packet Capture Practical Quiz

One section per capture file. Download the file at the top of each section, inspect it with Wireshark or tshark, answer the five questions, then reveal the key to check yourself.

How to use this quiz

Everything runs offline against the files in this folder.

  1. Press Download on the file you want, or open it directly in Wireshark.
  2. On Windows the command-line tool is usually C:\Program Files\Wireshark\tshark.exe.
  3. Type your answer, then press Reveal answer. Notes are saved in this browser automatically.
Exporting objects: some answers reward pulling out embedded content. Use File → Export Objects → HTTP, or run tshark -r http_witp_jpegs.cap --export-objects http,exported.
0 / 0 answers revealed

Command cheat sheet

Set $ts to your tshark path and adapt as needed.

$ts = "C:\Program Files\Wireshark\tshark.exe"

& $ts -r http.cap -q -z io,phs                 # protocol hierarchy overview
& $ts -r dhcp.pcap -T fields -e bootp.option.dhcp
& $ts -r dns_port.pcap -d udp.port==65333,dns
& $ts -r http.cap -z follow,tcp,ascii,0         # follow one HTTP conversation
& $ts -r http_witp_jpegs.cap --export-objects http,exported
& $ts -r tcp-ecn-sample.pcap -T fields -e ip.dsfield.ecn
Get-FileHash dhcp.pcap, "dhcp (1).pcap" -Algorithm MD5