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

Wireshark in Dos

0

Hi guys Does anyone know if you can use wireshark from DOS, basically, i m trying to read the wireshark output in labview. I would aim on sending to the DOS prompt the wireshark command to report back the traffic on a network and then read this in to labview for analysis. Any ideas would be greatly appreciated?? I am afraid i m a wireshark virgin really.

asked 14 Dec '11, 03:29

smiles429's gravatar image

smiles429
1111
accept rate: 0%

1

do you mean using MS-DOS or using wireshark from a windows cli ?

(14 Dec '11, 03:31) Landi

2 Answers:

1

For command line output use tshark. See the documentation here.

answered 14 Dec '11, 04:00

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Or take a look at the TShark man-page.

(14 Dec '11, 08:48) joke

1

As per Landi's question:

  • If you mean "using MS-DOS", you can't - the only Microsoft operating systems on which Wireshark is supported are 32-bit and 64-bit versions of Windows.

  • If you mean "using Wireshark from a Windows CLI", see grahamb's response - use TShark or, if all you want to do is capture to a file and then read the file in LabView, use dumpcap (which comes with Wireshark, just as TShark does).

answered 15 Dec '11, 16:30

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%