skip to navigation
skip to content

StructX 1.0

Unknown binary data dissection/analyze/reassembly library

Crafting packet structures with gui
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Create a example.py file with contents:

--- example.py ---
from packetlib import BasePacketClass, StringSZ, AttrList
class ExamplePacket(BasePacketClass):
_fields_=AttrList(('data',StringSZ))
--- END ---

Having intersting binary data in some_data_file, run
gui.py example.py:ExamplePacket some_data_file

Start thinking what binary data might mean and add definitions to _fields_
attribute appropriately, then reload the class in gui to see changes.
 
File Type Py Version Uploaded on Size
StructX-1.0.tar.gz (md5) Source 2012-06-15 30KB