so I am sending custom http post/get/put requests to my apache2 server and I would like to log exactly what is received by the server. So far I am using ForensicLog module and that allows me to see most stuff like content type, body length, header, but not body content. How would I be able to see this information?

Protocol = Http
Method = Post
Port = 80
Http Body = testbody
Http Header = testheader, value: 222

root@pc44:/var/log/apache2# cat forensic_log.log +22875:5ab9615a:0|POST / HTTP/1.1|Host:|Accept:*/*|testheader:222|Content-Length:8|Content-Type:application/x-www-form-urlencoded-22875:5ab9615a:0

you can capture traffic with tcpdump. Then you can decode file with Tshark tool to get all fields which is need to be sent.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.