I'm trying to setup Wireshark so that I can use the LuaInterface to use some of the classes in the .NET framework. I'm able to get it working running through the Lua command line, but when I try to
I've tried setting the
When I do this, I get the following error:
This is a strange error since the file definitely exists.
I've installed the Lua package for windows in
Has anyone been able to get this working? Any help would be appreciated.
I'm using Wireshark 1.4.4 with Lua 5.1.4 I downloaded luaforwindows from here. It's version 5.1.4-45
Microsoft Windows XP Professional Version 2002 Service Pack 3
Your Wireshark is old. The current stable release is Wireshark 1.6.1.
Wireshark already includes Lua. You don't need to install your own copy of Lua because Wireshark comes with its own Lua interpreter (and will only use its own). However, your Wireshark Lua scripts can still call the libraries installed by LuaForWindows.
LuaInterface 1.5.3 is probably incompatible. LuaForWindows v5.1.4-45 ships with LuaInterface 1.5.3, which might be incompatible with your Wireshark installation (exhibited by runtime error R6034 upon loading luanet.dll). This was true for me with Wireshark 1.6.1 on Windows 7. You can get compatible binaries of LuaInterface 2.0.3 from this ticket.
1) Copy the VS2005 SP1 Redistributables from LuaForWindows to Wireshark's program directory (or you can download the redist package from Microsoft...see ticket):
2) Download LuaInterface 2.0.3 ZIP from this ticket, and copy the following from it:
3) Restart Wireshark/TShark if already running.
4) OPTIONAL: From Wireshark, open menu Tools > Lua > Evaluate. In the textbox that appears, enter some sample code, and click Evaluate.
This should result in something like this: