|
|||||||||||
|
RE: When GET = POST?
From: Tony Welsh <lists(at)evolvedcode.net>
Date: Sat Nov 09 2002 - 08:11:16 EST The reason this problem comes about is that instead of querying just a specific collection of variables from the Request object it's also possible to query the entire Request object itself for a variable, so instead of using Request.Querystring("Blah") I could use Request("Blah"). This is not recommended because it queries the following collections from the request object in the order; .Querystring
Aside from being much slower than a request against a single collection it also allows you very little control over which collection it will return data from other than the order in which they are queried e.g. if variable "blah" is not found in the GET or POST data then potentially Request("Blah") could end up returning that variable from a cookie, client certificate or server variable! Hope that helps...
Regards
-----Original Message-----
Hi, This has been troubling me for a while. When pen testing web apps where a page POSTs data it often seems just as effective (and easier) to encode the data in the URL (i.e. use and HTTP GET ). Is guess this is because many server-side languages do not differentiate how a variable is set? Whilst, from a pen test perspective, I can see there both positive and negative aspects to doing this, I'd like to understand it a bit better from the application designer's/ coder's viewpoint:
Chris Received on Sat Nov 9 10:15:06 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:44 EDT |
||||||||||
|
|||||||||||