How to start LUA in TSharkΒΆ

This is your first lab to test Wireshark and Lua.

Lua script. Save it as hello.lua:

print("Hello World!")

Use an empty capture file, the -q is here to quiet TShark, so that it does not display the packets that it is processing.:

tshark -X lua_script:hello.lua -r empty.cap -q