Can't find wireshark init.lua on my CentOS machine
So, I'm trying to get a script to work with tshark on my CentOS 7 server, but I'm having problems. The script works fine on my Windows laptop, I just put it in the plugins folder in appdata, but I cannot find a similar location on Linux. I used yum to download wireshark and I have a program in a different folder, but I can't find any init.lua files or plugins folder.
When I use tshark -v it tells me that it is built "with Lua 5.1", so I know this is not a problem, but I have no idea where to go from here. Any suggestions?
source to share
I'm at the Centos / RHEL camp too. I couldn't find init.lua
anywhere. Information that lua should be available, but it was not in the menu.
I eventually found it! It is part of a package devel
that is add-on to the base explorer installation package.
yum install -y wireshark-devel
Now I have init.lua
and my custom lavas dissectors are working.
source to share
Launch Wireshark and go to Help->About Wireshark
and then go to the tab Folders
. This will contain a list of all directories, including the " Personal Plugins
" directory where you must place the Lua script so that it will be automatically loaded. In * nix systems are usually: ~/.wireshark/plugins/
.
source to share