How can I convert wirshark captures (.cap) files to text files or some format from which I can read the file and parse its contents ?
Regards, Mithun
|
How can I convert wirshark captures (.cap) files to text files or some format from which I can read the file and parse its contents ? Regards, Mithun |
|||
|
|
|
Open up Wireshark, select your .cap file, and then go to File->Export and choose the options that you want. So, if you need to do it from the command line, use tshark.exe, as follows.
|
|||||||||
|
|
The -A option of tcpdump prints each packet in human readable ASCII and happily deals with wireshark files and you can do it all from the command line:
The output looks like:
|
|||
|
|
Aren't you able to open wireshark and open that .cap file, then export it from the file menu as a text file? Trying to remember off the top of my head but I thought you could... |
|||
|