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 Ragi |
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 andab 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.