hii, I want to capture all the http packets having all the response information like message type(GET/POST),etc. Also if the method is POST then postbody also I want to capture. I am using Net::Pcap for achieving this. The filter string that I am using is "port 80". But the output I am getting is not desirable. I am getting a lot of extra unwanted data along with the required HTTP data. Even the HTTP data that I am getting does not give me postbody which is a must for me.
Please advice me how to filter more efficiently to get only HTTP data and all the GET/POST details. thanks, regards, Mihir