Hi! I have one little problem:
C:\Program Files\Wireshark\tshark -x lua_script:hello.lua Capturing on Microsoft tshark: Invalid capture filter "lua_script:hello.lua" for interface Microsoft!
That string isn't a valid capture filter <syntax error="">. See the User's Guide for a description of the capture filter syntax. 0 packets captured
hello.lua contains only this: print("Hello World")
What's the problem?
asked 07 Sep '12, 01:47
The problem is that you used "-x" instead of "-X". As -x does not take an argument, tshark sees "lua_script:hello.lua" as a capture filter.
answered 07 Sep '12, 01:56