RE: Passing the same cookie and headers to a new site

2003-06-23 Thread John J Lee
On Mon, 23 Jun 2003, Alan Olegario wrote: > I tried checking what headers are being sent with ethereal, but it looks > like I can't get the info since it's going over https and being > encrypted. [...] There are several solutions to that. Look at the message I posted here a week or two ago for d

RE: Passing the same cookie and headers to a new site

2003-06-23 Thread Alan Olegario
n Olegario >Cc: [EMAIL PROTECTED] >Subject: RE: Passing the same cookie and headers to a new site > > >On Fri, 20 Jun 2003, Alan Olegario wrote: >[...] >> HTTP::Cookies::extract_cookies: Set cookie SMSESSION => [cookie info] >> HTTP::Cookies::extract_cookies: Set cookie FO

Re: Passing the same cookie and headers to a new site

2003-06-21 Thread John J Lee
On Sat, 21 Jun 2003, Matthew Darwin wrote: > The LWP behaviour looks like a security problem to me. > > For example, davin.ottawa.on.ca is not related to flora.ottawa.on.ca > So if one sets a cookie the other site can get it? > Very bad. > > Canadian domains are in the form ...ca > or ..ca or .ca

Re: Passing the same cookie and headers to a new site

2003-06-21 Thread Matthew Darwin
The LWP behaviour looks like a security problem to me. For example, davin.ottawa.on.ca is not related to flora.ottawa.on.ca So if one sets a cookie the other site can get it? Very bad. Canadian domains are in the form ...ca or ..ca or .ca John J Lee wrote: On Fri, 20 Jun 2003, Alan Olegario wrote:

RE: Passing the same cookie and headers to a new site

2003-06-21 Thread John J Lee
On Fri, 20 Jun 2003, Alan Olegario wrote: [...] > HTTP::Cookies::extract_cookies: Set cookie SMSESSION => [cookie info] > HTTP::Cookies::extract_cookies: Set cookie FORMCRED => > HTTP::Cookies::extract_cookies: Set cookie EntFXSessionR => [cookie info] > HTTP::Cookies::extract_cookies: Set cookie L

RE: Passing the same cookie and headers to a new site

2003-06-20 Thread WORENKLEIN, David, GCM
Just use HTTP::Cookies::scan to find out what cookies you have, change the domain ($domain =~ s/olddomain/newdomain/) and then use HTTP::Cookies::set_cookie to put the new cookie in.

RE: Passing the same cookie and headers to a new site

2003-06-20 Thread Alan Olegario
P::Protocol::collect: read 5 bytes LWP::UserAgent::request: Simple response: OK >-Original Message- >From: John J Lee [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 19, 2003 20:38 >To: Alan Olegario >Cc: [EMAIL PROTECTED] >Subject: Re: Passing the same cookie and headers

Re: Passing the same cookie and headers to a new site

2003-06-19 Thread John J Lee
On Thu, 19 Jun 2003, Alan Olegario wrote: > I'm trying to log into a site and then pass the same cookies and headers > that are used for the first site into another site. Should I just be > able to do a get to the second site and still maintain the same cookies > and headers? No. > Here's the m

Passing the same cookie and headers to a new site

2003-06-19 Thread Alan Olegario
I'm trying to log into a site and then pass the same cookies and headers that are used for the first site into another site. Should I just be able to do a get to the second site and still maintain the same cookies and headers? Here's the meat of my code: foreach $target(@targets) { if