What is the correct and current way to structure a lua . . . - Wireshark Can anyone point me to the correct way to structure the files in a Wireshark lua dissector? - What to name the main module Does it matter? - Where to place the sub-modules Within the plugins folder structure or elsewhere? - Whether to use require within the main lua file or whether to let Wireshark load them from its recursive search of the folders
writing dissector using lua scripts - Wireshark Q A To do that i wrote the following lua script: -- creates a Proto object, but doesn't register it yet local cip_ttt = Proto ("myCIP","CIP Sub Protocol") -- multiple ways to do the same thing: create a protocol field (but not register it yet)
Lua script order of execution - Wireshark Q A Scripts specified from the command line (e g with -X lua_script:somescript lua) get executed last When multiple scripts are passed from the command line using -X, they are executed in the order they appear on the command line What controls the order of execution of scripts when multiple scripts exist in, say, the local plugins directory?
Wireshark Q A Lua binding integration - documentation 2 Answers:
Wireshark Q A How do I setup Wireshark to run Lua’s CLRPackage
attempt to index global base (a nil value) - Wireshark 3. 6. 2-2 In my installation scripts, I have pinned the Wireshark version to 3 6 2-2 because of some of the differences between how Nordic's tooling operates and some differences between Lua 5 2 and 5 4
EtherCAT sub-dissector in Lua - Wireshark Q A EtherCAT sub-dissector in Lua 0 Hi, I want to create an EtherCAT subdissector in Lua, to dissect the payload of the EtherCAT datagrams Consulting the WireShark documentation didn't help me out, I know how to build a custom (chain post-) dissector in Lua but not how to dissect data of an existing protocol