I am trying but failing to send http POST requests using LUA in Wireshark. My approach is to use the ‘socket.http’ and ‘ltn12’ LUA modules, however, I do not know how to have Wireshark load these modules into its LUA base correctly.
I am simply just adding the following lines to a LUA file which Wireshark reads on program boot up:
local http = require("socket.http")
local ltn12 = require("ltn12")
The error I receive is:
module 'socket.http' not found:ntno field package.preload['socket.http']ntno file
Obviously, I am missing some source socket.http (and ltn12) module files but do not know how to include them or what files they should be.
Thank you for any help.
timbuktu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.