# Revision history [back]

### How do I extract 'hex dump' from a pcap file?

On Wireshark, I want to extract all the hex values from the section at the bottom into another file - but I don't know how to refer to it when using t shark.

tshark -r targetFile.pcapng -T fields -e _ws.col.Info > outFile.csv


here is the code I have, the -e is referring to the 'info' column of Wireshark but I want to extract the hex values at the bottom, what is the correct syntax for this?

### How do I extract 'hex dump' from a pcap file?

On Wireshark, I want to extract all the hex values from the section at the bottom into another file - but I don't know how to refer to it when using t shark.

tshark -r targetFile.pcapng -T fields -e _ws.col.Info > outFile.csv


here is the code I have, the -e is referring to the 'info' column of Wireshark but I want to extract the hex values at the bottom, what is the correct syntax for this?

tshark -r targetFile.pcapng -T fields -e _ws.col.Info > outFile.csv