Web Query String

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?
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

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?
 
M

Mike

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top