![]() ![]() tshark is the command-line version of wireshark and -X enables various extension options. ![]() This script points to libraries included with ZBS that are required for debugging (luasocket and mobdebug). disable_lua = true do return end Setup Wireshark environment for debuggingĬreate the following batch file in your wireshark folder adjust the value of ZBS according to the location of ZeroBrane Studio. Then find a in the wireshark folder and comment out the following line (this is only needed if you are using wireshark earlier than 1.4): - Lua is disabled by default, comment out the following line to enable Lua support. Go to Help | About Wireshark and check if you see "with Lua 5.1" there (or run tshark -v and check its output). Make sure your Wireshark version include Lua interpreter and enable processing of Lua scripts. It turned out it is indeed possible I'll describe how this can be done on Windows, but you can map these steps to your platform of choice. One of ZeroBrane Studio users asked if he could use ZBS to debug Wireshark scripts and I thought I would take a look. Wireshark is a cross-platform network analyzer that conveniently supports scripting some of its functions in Lua. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |