wssdl
wssdl copied to clipboard
Wireshark-Specific Dissector Language
Now `DissectorTable.get` will not return the proto which is created by `wssdl` in the same file (I do not test on different Lua file). So `payload` is not properly work...
Suppose we have the decryption key, is it possible to decrypt an encrypted payload with this DSL? PS: What I want is to decrypt the packet defined in [this script](https://github.com/nickw444/miio-go/blob/master/tools/wireshark/miio.lua),...
the `repeat` method would allow one to repeat a field N times (or until a passed callback returns true) Usage: ``` lua array = wssdl.packet { data_len : u32(); data_array...
e.g. Reuse UDP dissector for part of pkts. We have a packet being inserted a small data between IP and UDP headers, and wanted to display it using wireshark. We...
the `when` method would be useful to conditionally select fields for dissection. Usage: ``` lua mypacket = wssdl.packet { has_opt : bit(); opt_data : u32():when(has_opt == 1); } ```