Wednesday, 2 October 2013

Reading packets hex values

Reading packets hex values

We have a system which is capable of capturing network packets. Below is
how we can show all the hex values of each byte.
for(i = 0; i < h->caplen; i++)
printf("%02X ", p[i]);
We are looking ways into how to extract urls if exist and also some
packets have source IP address. Any best mechanism to help on this task ?

No comments:

Post a Comment