Web Query String

  • Thread starter Thread starter philipaaldridge
  • Start date Start date
P

philipaaldridge

Hello All,

I'm trying to replicate a request to a web browser request (actual
domain is changed :D)

http://www.philip.com/phils.cfm?num_ent=%"$[_#=H


So far I can post to the above address, but I can't reverse engineer
the query string.

num_ent=%25%22%24%5B%5F%23%3DH%20%0A


This is my code, but I think I'm trying to encode an encoded string?


Byte[] d = System.Text.Encoding.ASCII.GetBytes("num_ent=%25%22%24%5B%5F
%23%3DH%20%0A
");
Byte[] res = web.UploadData("http://myweb.com/phils.cfm", "POST", d);


Any ideas how to replicate the top request?
 
Hello All,

I'm trying to replicate a request to a web browser request (actual
domain is changed :D)

http://www.philip.com/phils.cfm?num_ent=%"$[_#=H


So far I can post to the above address, but I can't reverse engineer
the query string.

num_ent=%25%22%24%5B%5F%23%3DH%20%0A


This is my code, but I think I'm trying to encode an encoded string?


Byte[] d = System.Text.Encoding.ASCII.GetBytes("num_ent=%25%22%24%5B%5F
%23%3DH%20%0A
");
Byte[] res = web.UploadData("http://myweb.com/phils.cfm", "POST", d);


Any ideas how to replicate the top request?

If you are trying to replicate the request, why are you doing a POST
instead of a GET?
 
If you have the code why not just see what the page is passing in stead of
trying to 'reverse engineer it'.
The page in your URL is a cold fusion page and the code isn't that hard to
read.
 
Back
Top