• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Odd packet header

Arrogant Wizard
Loyal Member
Joined
Mar 30, 2007
Messages
745
Reaction score
34
Each line represents the first 10 bytes in each packet. After this the filename is sent.
PHP:
2B 00 19 D3 00 00 00 22 00 00
25 00 87 CF 00 00 82 00 00 00
2B 00 1E D3 00 00 61 F4 00 00
2B 00 1B D3 00 00 9D 98 07 00
2B 00 1C D3 00 00 BC 20 00 00
28 00 1D D3 00 00 64 74 02 00
Anyone got an idea why the first header don't seems to fit in ?

I assumed it was structured this way:
PHP:
Header (byte)                         
0x00                                  
Filesize (int)                        
0x00                                  
Filename-Length (ushort)       
0x00                                  
Filename (string)

But the types don't fit due to the first packet :S

Sample data
Code:
0000  2B 00 19 D3 00 00 00 22 00 00 44 61 74 61 5C 4E    +......"..Data\N
0010  70 63 5C 43 6C 6F 74 68 65 73 5C 54 65 78 5C 4E    pc\Clothes\Tex\N
0020  30 33 33 5F 30 32 2E 47 54 58 00 1F 8B 08 00 B4    033_02.GTX......
Code:
0000  2B 00 1A D3 00 00 5E 20 00 00 44 61 74 61 5C 4E    +.....^ ..Data\N
0010  70 63 5C 43 6C 6F 74 68 65 73 5C 54 65 78 5C 4E    pc\Clothes\Tex\N
0020  30 33 33 5F 30 33 2E 47 54 58 00 1F 8B 08 00 B4    033_03.GTX......
 
Back
Top