Wireshark-dev: Re: [Wireshark-dev] Processing packet before exporting it.
From: Pascal Quantin <[email protected]>
Date: Wed, 22 Nov 2017 18:02:03 +0100

Le 22 nov. 2017 17:36, "Dario Lombardo" <[email protected]> a écrit :
On Wed, Nov 22, 2017 at 5:21 PM, Manik Khandelwal <[email protected]> wrote:
I want to edit the bytes with full knowledge of structure.

There was such a feature in wireshark GTK gui. It has not been ported to QT yet and there are no plans at the moment for that. Maybe you could try to compile it or use some bin package that provide the old gui and play a little bit with it. For the sake of completeness: it's just a bit more than an hex editor, by the way. But points to the actual packet bytes, that makes some of the job you should do yourself with an hex editor.
Hope it helps.

There was indeed an experimental packet editor, but it was very limited (basically as far as I can remember it could edit values like what you could do with an hex editor, but was not a generic encoder for any given protocol).