How to Only Print Lua Output with Tshark
I Am Using a Lua Script with Tshark and When I Run It with -v I Get the Protocol Decode Output. When I Try Anything Else to Limit Output to Just the Lua...
I am using a Lua script with tshark and when I run it with -V I get the protocol decode output. When I try anything else to limit output to just the Lua decoded data I am not having any luck. i.e.
tshark -X lua_script:my.lua -r input.pcap.gz -w output.pcap -O "my lua protocol" or tshark -X lua_script:my.lua -r input.pcap.gz -w output.pcap -O "my lua protocol" -V
even when I try -O udp -V I do not get the protocol output.
Any ideas?
1 Answer
Try tshark option -q like in
tshark -X lua_script:RatingGroup.lua -r OneGy_sess_DIAMETER_Dialogue-6_on_06_Jun.pcap -q
As you can see no decoded packets: