Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Displaying hex dump ONLY in tshark

From: kahou lei <kahou82@xxxxxxxxx>
Date: Mon, 22 Aug 2011 15:06:58 -0700
Hi,

Is there a way to display hex dump ONLY in tshark? Currently if I use -x option, it will display something like this:

0000  00 10 94 00 00 02 00 10 94 00 00 01 08 00 45 00   ..............E.
0010  00 6e 00 2c 00 00 ff 06 3a 05 c0 55 01 02 c0 00   .n.,....:..U....
0020  00 01 04 00 04 00 00 01 e2 40 00 03 94 47 50 10   [email protected].
0030  10 00 35 e5 00 00 00 00 00 00 00 00 00 00 00 00   ..5.............
0040  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0060  00 00 00 00 00 00 00 00 d3 f7 31 d9 08 e3 6c 13   ..........1...l.
0070  ab 44 7e bd 30 4b 44 fd f6 c1 58 f0 ee d0 6f 8d   .D~.0KD...X...o.

I don't want the index number and the display out on the right most area. Is there a way I can only display the hex values in between?

Thanks,
Kahou