Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cookie presentation

Status
Not open for further replies.

simanek

Programmer
Jan 19, 2001
137
US
Hello all,

I want to fake out a webserver into thinking that a person has actually logged in and has gotten a cookie for the session. I have a valid password and username and I know what the name of the cookie needs to be. What I'm planning on doing is using a perl script to submit an http 'POST' to the page where the form submits to and get the session cookie from it. I can do this just fine. What I don't know how to do is present the webserver with my session cookie when I access a different page. Is it something in the http GET command that I need to write that presents it with my cookie or what? I'm at a loss. Actually, does this question even make sense to anyone? Any help would be greatly appreciated. Btw, system specs are as follows:
Server: solaris7, apache 1.3.20, perl cgi scripts
client: win2k, ie5.5

Any help, suggestions, or url's would be greatly appreciated.
Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
 
on it's face - this sounds like something you don't need to be doing. Can you provide some reason for wanting to 'break into' a site?


keep the rudder amid ship and beware the odd typo
 
I've cross posted in the perl forum as well. See the explanation there. In short, I'm not trying to break in...i'm trying to automate. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top