Hello guys !
I decided to share one of my small projects with you.
This is application written on C# that parses Mu Online packets to defined structs.
How to use it :
Add structs in Structs.cs (keep the existing syntax structure)
Click on the Load Structs button.
Add a packet hex in the field.
Click on the Parse Packet button.
The application will compile Structs.cs to Structs.dll and use those structs to parse your packets.
How to convert C++ structs to C# :
C++
C#Code:struct TEST_STRUCT { BYTE Size; char Username[10]; byte SomeBytes[5]; };
Everything must be public !
Code:public struct TEST_STRUCT { public byte Size; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 10)] public string Username; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)] public byte[] SomeBytes; };
Future point of development can be to create packet sniffer from this app and auto parse the live packets with the structures :)
You can capture packets with WpePro or any other packet sniffer.
If someone is interested of the source code i can share it on low price =] . Just contact me on skype : vankyy26
Test Packet :
Runs on Windows XP Serice Pack 3 / Windows Server 2003 and above.Code:C1 08 27 FF 1F A2 2D 32 C1 04 0F 23
.NET Framework 4 Client Profile is required : .NET Client Profile 4




Reply With Quote



