This project is read-only.

display url of http packets

Apr 3, 2014 at 7:37 AM
Hi, does anyone have any idea on how to display the url of the web pages that i load. I managed to display the source and destination address but what about the url. Is there a method to do it? Thanks in advance.
Apr 4, 2014 at 3:20 PM
You can try getting if from packet.Ethernet.IpV4.Tcp.Http, but you will have to only do that for valid HTTP requests.
Apr 5, 2014 at 4:23 PM
Sorry but do you have an example on how to do it? Because I do not know how to use packet.Ethernet.IpV4.Tcp.Http as I keep getting errors.
Apr 12, 2014 at 9:11 AM
You should make sure you only try to parse valid HTTP over TCP over IPv4 over Ethernet packets.