laziness, impatience, and hubris | |
PerlMonks |
Re^3: how to Decode Hexdata got from Pcapby gman (Friar) |
on May 06, 2010 at 17:03 UTC ( [id://838759]=note: print w/replies, xml ) | Need Help?? |
Wouldn't that stem from the type of data in the packet? What I mean is, your TCP output is clearly HTML plain ascii, your UDP contains control characters, for every non-printable char the hexdump prints a '.'. When you try to print the raw data your terminal is going to interpret this. Maybe running it through something like unix strings, or sanitizing it in perl before you print it?
In Section
Seekers of Perl Wisdom
|
|