Wireshark supports plugins for various purposes. Plugins can either be scripts written in Lua or code written in C or C++ and compiled to machine code.
Wireshark looks for plugins in both a personal plugin folder and a global plugin folder. Lua plugins are stored in the plugin folders; compiled plugins are stored in subfolders of the plugin folders, with the subfolder name being the Wireshark version number.
On Windows:
\Wireshark\plugins
.
\plugins
.
On Unix-like systems:
/wireshark/plugins
or, if
XDG_CONFIG_HOME/wireshark
does not exist and
$HOME/.wireshark
is present, $HOME/.wireshark/plugins
.
/Contents/PlugIns/wireshark
, otherwise it’s
INSTALLDIR/lib/wireshark/plugins
.