views:

30

answers:

2

Are there any tools/websites/utilities for viewing a website in hex as it comes strait off the wire?

I'm getting some strange non-printing characters back from somebody else's C++ code and I want to identify the characters to find out where they are comming from.

I'm concerned that writing the file to disk messes with the characters that are written out (I think that this may only be true in the case of saving it with a text-editor, but I'm not entirely sure about that).

I have already used a tool called wget.exe to download the page in the past, but I'm still not entirely sure that it doesn't modify it before it writes it to disk.

Also what about the hex-editor itself? Does it modify the file (or the display of the file)?

So that (hopefully) gives you an overview of what I am looking for here.

+2  A: 

If you're using windows, you can get a copy of the Fiddler debugging proxy. That has a "hex mode" (and it's totally useful for other stuff too).

Otherwise you can try something like Wireshark.

Seth
Man I already heard of both of those, but I didn't know you could look at the hex in it. Thanks :)
leeand00
+3  A: 

Fiddler (Windows): http://www.fiddler2.com/

Here is a screenshot showing the HEX viewer:

Fiddler Hex Viewer

Daniel Vassallo