ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: [Wireshark-users] how can I use tshark to export data as ascii via command line

From: "Andrew Cuthbertson" <cuthbertson@xxxxxxxxxxxxx>
Date: Tue, 4 Nov 2008 13:57:23 +0100

Hi

1.       I want to export the data field as ascii from a command line. I use tshark to export fields of interest

tshark.exe -r  input.enc > output.txt  -E separator=; -E header=y -T fields -e frame.number -e data.data  

But this gives me the hex and I would like the ascii equivalent. How can I export the format I want via command line or convert it?

2.       I export many fields with –T field command but it gives the raw values. I would like to get the decoded values. Is there any way of doing this? I know there are some limited values available via the –o column command.

 

Andrew