This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Difference between running a Lua script in Wireshark and/or tshark

0

Thanks @kurt,@helloworld, another question: what is the difference in running the script from wireshark or tshark? what are the benefits of each way?

Comment: I converted the comment from this question: http://ask.wireshark.org/questions/16942/textwindownew-doesnt-work-well

asked 20 Dec '12, 05:14

Leena's gravatar image

Leena
51171821
accept rate: 0%

edited 20 Dec '12, 07:50

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237


One Answer:

1

The difference is that you can't do GUI stuff in TShark but you can in Wireshark.

The benefit of running a Lua script in TShark is that you can do stuff from the command line without having to push buttons in the UI.

The benefit of running a Lua script in Wireshark is that it can let you do stuff by pushing buttons in the UI.

Some scripts might be able to work in both environments.

answered 20 Dec '12, 12:15

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Thanks everybody,@Kurt,@helloworld,@Guy Harris,@Jasper,@grahamb,@SYN-bit,@Landi, you are always helping,I'm really glad to join this forum,where people are decent and helpful, next step I'll try to help other with my modest amount of knowledge. Regards

(20 Dec '12, 23:21) Leena