is there any way that i can convert the catured packet file *.cap to text file. i want the capture packet can be view without using any sniffing software.
The answer is no, A cap file is not a decode. The files is decoded when loaded into the sniffer. So you should need a tool (not Sniffer as you mention) to decode the file and then save it to a text file.
Robert
Robert A.H. Wullems
Sniffer University Instructor
SCM / CNX / MCP
Citee Education
the Netherlands
I've got Ethereal but I need to be able to see and replay the data stream and want to do so via VB6. I think you (mpennac) and I are talking about this in another thread.
Since I'm new to this realm any suggestions of good books and reference sources for packet format and structure would be helpful too.
Here's an excerp from my website on how to do it from the command prompt:
Tip- Creating A Text File - October 1, 2001
When creating text files for reporting and other applications, I found a real timesaver.
Tethereal is an utlity that you can find in the Ethereal program directory. Just open a command prompt and the following commands will create a text file for later processing.
In Tethereal, you can just do
tethereal -r {capture file name}>filename.txt
and it'll read the capture file with that name, and print the summary line for each packet. To get the full protocol tree from Tethereal, you also supply it the "-V" flag:
tethereal -V -r {capture file name}>filename.txt
The good news is that will work will all the Ethereal supported file types (ie, NAI, Snoop).
Hi,
If you've done the capture with a sniffer, the simple answer to this question is yes, and it's very simple too.
With the decode screen showing, go to File, Print. Select "Print to file", then select what you require (summary, and/or detail, and/or hex) then save it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.