cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: using cookies

From: Doug McNutt <douglist_at_macnauchtan.com>
Date: Mon, 5 Jun 2006 12:03:45 -0600

At 01:18 -0700 6/5/06, harpreet handa wrote:
>I autheticate myself to a page using curl...now i want to use existing cookies to visit more pages without reauthenticate myself.How do I send existing cookies with new request so that I dont have to provide login name and password again with curl?

I found curl's cookie jar stuff inadequate for the logins I want to do, especially for financial organizations that are much too paranoid about security through obscurity. The results are this piece of doggerel which supports cookies that you can modify to match logins done with POSTs or with cookies set by executable code in a web page.

<http://macnauchtan.com/software/FinpMod/FinpMod.html>

Someday I shall finish documenting it. You'll need to know something about perl to make use of it or to extract code you can use. And. . . It's not for hacking passwords. You'll need a legal account.

-- 
Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.
Received on 2006-06-05