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
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
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
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:
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
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.
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
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
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