Packet Analyzer

08/29/2012 23:02 I don't have a username#1
#This can be closed. Made a new packet-analyzer.
08/29/2012 23:42 pro4never#2
I had considered writing something very similar a while back.

I'd made some changes if I were you.

1: change the main display into a byte grid to display the hex value of each byte
2: On clicking any byte in the grid, change the bottom display to show the byte, ushort, uint and ulong decimal values from that offset. Also show the fixed string (16 char) and variable length string which would be displayed if that was the begining of a string packet.
3: Select the data type from the bottom list and it will ask you to 'label' the offset. Once labeled, the used bytes would become highlighted in a color coded fashion. On mouse over, list the label
4: Discovered offsets panel at the bottom to list what offsets/datatypes/values you've already discovered in the packet
5: Output Structure --> Output the structure given the labels and data types used in the format of your wish.

Those were the things I had thought about including in my own version. Would be nice to see these additions in yours but maybe I'm just way off base.
08/29/2012 23:55 I don't have a username#3
Quote:
Originally Posted by pro4never View Post
I had considered writing something very similar a while back.

I'd made some changes if I were you.

1: change the main display into a byte grid to display the hex value of each byte
2: On clicking any byte in the grid, change the bottom display to show the byte, ushort, uint and ulong decimal values from that offset. Also show the fixed string (16 char) and variable length string which would be displayed if that was the begining of a string packet.
3: Select the data type from the bottom list and it will ask you to 'label' the offset. Once labeled, the used bytes would become highlighted in a color coded fashion. On mouse over, list the label
4: Discovered offsets panel at the bottom to list what offsets/datatypes/values you've already discovered in the packet
5: Output Structure --> Output the structure given the labels and data types used in the format of your wish.

Those were the things I had thought about including in my own version. Would be nice to see these additions in yours but maybe I'm just way off base.
Was thinking of rewriting this actually when I was looking at it right before I released it, but about to sleep now, so might just be tomorrow :) Might implement a packet logger with it :p
08/30/2012 03:54 diedwarrior#4
That was fast lol.
08/30/2012 07:09 I don't have a username#5
Quote:
Originally Posted by diedwarrior View Post
That was fast lol.
Was maybe 30 minutes work :p