I would like to extract a single packet data section (payload) from a UDP stream to a file, from a pcap capture, given a packet number in the capture.
I tried the following command
tshark -r fec_1D_10x10.pcap -R "frame.number == 13" -T fields -e data -w fecData.raw
However, the whole packet is saved instead. How could I do that (not necessarily with tshark) ?
Thanks