This is our old Q&A Site. Please post any new questions and answers at

I have a packet (hex string) which I have framed programmatically. Need to Parse the hex String to display the human readable form. What command should I use to Parse the HexString. I am looking for a command line interface solution. Thanks, Chetan

asked 22 Sep '16, 06:14

Chetan%20Ragi's gravatar image

Chetan Ragi
accept rate: 0%

Do I get you right that you have assembled a packet of some protocol, but instead of saving it as binary data, you've printed it out as hex string, and you want to dissect it using Wireshark? If this is the case, then there is the "import from hex dump" functionality of Wireshark in the File menu.

You have to print the hex data in the following form:

000000 ab cd ef

where 000000 is an offset and ab cd ef are the actual data.

You also need to tell Wireshark which is the lowest layer in those data (Ethernet, IP or possibly some other one) by choosing the proper encapsulation from the drop-down list.

(22 Sep '16, 07:37) sindy
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 22 Sep '16, 06:14

question was seen: 1,679 times

last updated: 22 Sep '16, 07:37

p​o​w​e​r​e​d by O​S​Q​A