How to capture my post request when I send a form to a server?
I face some problem with a form on a web server. To solve it I want to know what exactly gets sent, when I click the submit button. How can I sniff the packets and see the parameters who get sent? Is there a good tool for mac to sniff exactly this post request I am d开发者_开发知识库oing?
Thanks Markus
How can I sniff the packets and see the parameters who get sent?
You can use tools as Wireshark (Windows, Linux, ...), NetworkMiner (Windows, Linux, ...) or Xplico (Linux). With each of these tools you can capture the network traffic to view the HTTP-request and the HTTP-response.
the simplest way is using a GET and see what's being sent via the browsers' query (altough the way you are sending could be AJAX and this method won't work).
Aditionally you can use Firefox's Firebug to see what's being sent.
精彩评论