F5F Stay Refreshed Software General Software Yes, you can perform a binary or hex dump from Wireshark.

Yes, you can perform a binary or hex dump from Wireshark.

Yes, you can perform a binary or hex dump from Wireshark.

R
runner123467
Member
219
11-24-2023, 12:54 AM
#1
I loaded a .pcapng file and reviewed the packet data. I am developing code based on this information, so I need to replicate the raw binary output seen in the wireshark interface. In the third window of Wireshark, I view a binary dump in hex format. How can I capture this data accurately? When I attempted it, only a text-based ASCII version appeared.

I added a hex code editor extension to Notepad++ to manually work with hex values, but it proved inefficient for precise edits.

I considered opening the .pcapng file directly in a hex editor, but it felt challenging and had a steep learning curve.

Please advise.
R
runner123467
11-24-2023, 12:54 AM #1

I loaded a .pcapng file and reviewed the packet data. I am developing code based on this information, so I need to replicate the raw binary output seen in the wireshark interface. In the third window of Wireshark, I view a binary dump in hex format. How can I capture this data accurately? When I attempted it, only a text-based ASCII version appeared.

I added a hex code editor extension to Notepad++ to manually work with hex values, but it proved inefficient for precise edits.

I considered opening the .pcapng file directly in a hex editor, but it felt challenging and had a steep learning curve.

Please advise.

B
BlueSpirit800
Junior Member
19
11-24-2023, 07:16 AM
#2
Python might be a viable choice:
https://www.delftstack.com/howto/python/...ii-python/
https://www.knowprogram.com/python/conve...ng-python/
PowerShell could also be an alternative:
https://stackoverflow.com/questions/4176...powershell