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

Automation

0

Hi,

We have wireshark in our lab. We have encoders,set boxes in our company and we used capture the packets using UDP multicast.

We are trying to automate T-shark using AutoIT Language?  Tshark –V –R “ip.addr == 233.1.1.202” –i 1 –c 1

Do you have any idea on T-shark Automation? is it possible?

asked 18 Oct '13, 03:47

vaish's gravatar image

vaish
1111
accept rate: 0%

Do you have any idea on T-shark Automation? is it possible?

For sure it is possible to automate tshark with AutoIT. However, I don't understand what you are trying to do and what kind of problem you ran into with AutoIT?

Can you please add more details?

Regards
Kurt

(18 Oct '13, 09:49) Kurt Knochner ♦

One Answer:

0

Are you running tshark with that exact command line? If so you're delimiting each flag with a Unicode EN DASH (U+2013) instead of a plain old regular HYPHEN-MINUS (U+002D). Here's what hexdump returns when I feed it one of the dashes above:

$ echo -n – | hexdump
0000000 e2 80 93                                       
0000003

answered 18 Oct '13, 10:01

Gerald%20Combs's gravatar image

Gerald Combs ♦♦
3.3k92258
accept rate: 24%