I appreciate a lot your response to my mail....tank you...
I have tried the command that you have said, but it didn't work....Please help me...I have a delivery of a work to make....
C:\Programas\Ethereal\tethereal.exe -i 2 -V -T text > captura.txt
and the ethereal doesn't start....
-------------------------------------------------------------------------------------------------
On Thu, 8 Dec 2005, Miguel Marques wrote:
> Hello I'm a Portuguese university student and I'm making a capture file by
> using the command line, with tehereal.
> I can't export the file in plain text file....the command the i used
> was:* *"C:\Programas\Ethereal\tethereal.exe
> -i 2 -w captura.txt"
> The number 2 after the "-i", is the number of my interface....
> I have read the "tethereal.htm" and it says that "-*F *Set the file format
> of the output capture file written using the *-w* flag"
> But what to i have to put after "-F" so that i can save in to plain text
> file...
> I have a delivery to make very urgent..
> Tank you very much
> Miguel
>
How about: tethereal -i 2 -V -T text > captura.txt
Good luck,
Jaap
-------------------------------------------------------------------------------------
Don't use the -w flag. Just pipe the output to a text file:
tethereal.exe -i 2 > captura.txt
This will output the summary of each packet to a text file. If you need the full protocol tree of each packet exported, use the -V flag.
Andrew