Hi,
I'm writing an application who captures everything that passes on port 80.
The result op the capture is an byte array with the retrieved values.
My problem is the following when i'm trying to convert the byte array to
UTF8 everything looks like:
"E EQ@ @q
=ryQzaP&I 0f -quGXzsR'V0L"#Ĵ5\}?P>!(?lnޏ0 ^YOS?Tw?i`
d.Sw'z+^
MS~"2/<"5'f`tk5hZY"<TAټx7çls *Lk.^/?
M&h;ghG)o0]j?AFE 9 =x [bǫ5=DiJ'ZnGzkN-o$-AamX-SSjHƝȣ?-rt>|:va)*f--If;\:F-4Y6K^L?}{d*D~&D?'퐦,#4%S
>8,"'&SLMY.N"!\xO.\cZYm.
P<FD>( ?_?r&nchSY8 e6t-3|?y{%,ѨT#"
Ǻ{/.kD?r>i?"+z3{SowZ
M`H")n'@Y˹Xx?LPe1]|
Y̿6aXk<f2k\v{þ:'0.>sKu$'?d "$X'gyo':+!k8.pi#>B'
yKWG&?fs,ZO
8Ij4qLpT)3s2Df.1-.'E$3]4F?¦ͬeOS L*{
FNs' "lbDYr.,^."
I've read somewhere that current browsers sometimes use "content-encoding:
gzip,deflate".
So I think this is also the case in the above sample (which is the first
packet I receive when I surf to www.google.be) , only I can't decompress the
packets who are sent over port 80, I'm using SharpZipLib and receive errors
like "first byte is incorrect, ..."
Does anyone has an idea/solution for my problem?
Thx in advance
Frederik