![]() This script creates an elementary dissector for DNS. If you wonder why some functions are called some way, or differently than previous invocations of the same function: the reason is its trying to to show both that it can be done numerous ways, but also trying to test those numerous ways. To test various functions being called in various ways, so this script can be used in the test-suites.To provide a reference tutorial for others writing Wireshark dissectors in Lua. ![]() The script is too long to embed in this page, and it's much better to view it in a text editor that supports Lua syntax highlighting, because there are a lot of comments in the script explaining things. Tutorial scripts A dissector tutorial scriptÄownload this a file for an example Lua script for a protocol dissector. Create new data (tvb) with ByteArray and Struct.Using Lua to register protocols to more ports.A custom file reader writer tutorial script.A dissector tutorial with TCP-reassembly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |