-1

I have a .pcap file that I would like to look at. But when I open it in notepad++ i get strings of discernible information, but a whole lot more of black boxes with 'NUL' written in them.

I know I can use wireshark to open the .pcap file, but i'm trying to see the hexcode for the .pcap file.

Is there anyway to see the .pcap header information in Hex? Also what format is the .pcap file in? Is it a binarycode?

Thanks!

2
  • 2
    Are you simply after the hexcode equivalents to captured data? That already exists in Wireshark with the View\Packet Bytes option. Aug 27, 2014 at 4:12
  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 9, 2017 at 1:57

4 Answers 4

4

what format is the .pcap file in? Is it a binarycode?

Yes.

Is there anyway to see the .pcap header information in Hex?

A hex file editor.

2

wireshark and tcpdump should work. Several other tools as well. But if you have to ask, it probably not the right tool for you.

1

Wireshark is your best bet. It's also free. Download it, open the pcap, click on a packet, and the very bottom window will show the entire packet in hex and ASCII.

0

When U use a mac (Mac OS X), you could use: cocoaPacketAnalyzer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.