Jump to content

Read TCP (pcap) returned data?


Gui
 Share

Recommended Posts

Using the pcap UDF, I'm trying to read / interpret packets that I pick up. In pcap, it will return some binary data. However, if you choose to save via the _PcapSaveToFile, and open the .pcap file in Notepad, you're able to see the data like so:

http://pastebin.com/WFSh3atF

Unfortunetly, trying to read the file with FileRead will only return the first few chars (Ôò¡ in this case). Is there anyway to read all the data clearly, especially where it shows actual text? Thanks!

GUI

PS: pcap UDF I'm referring to: http://opensource.grisambre.net/pcapau3/

Edited by Gui
Link to comment
Share on other sites

Even if I try to read in binary, then re-convert, it doesn't make a difference. I even tried reading by line, but for the lines that have those weird chars, it can only interpret the first few for some reason, like I showed in OP.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...