curl-users
Re: Beaten by cahoot.com
Date: Tue, 15 Oct 2002 00:52:36 -0500
OK, this is probably a bit weird, but I just managed to get the "cahoot log in"
page by doing this twice:
curl -v -i -b cahoot.cookie -c cahoot.cookie
https://ibank.cahoot.com/servlet/com.aquarius.security.authentication.servlet.LoginEntryServlet
First time I get back cookies and the "General Error Page". Second time I get
the login page. I suppose that the cookies tell it something useful, but I
couldn't begin to tell you how the browser manages to get it right, unless
there's a cookie exchange before it really gets the page.
So, it works, but you have to do it twice, with cookies enabled both times. I
am in sunny Oklahoma, though, going via corporate proxy, so your milage may
vary, contents may have settled during transit, mind the gap, etc... :)
I got curl-7.10.1 & openssl-0.9.6g here. They got an old copy of Apache there:
Server: IBM_HTTP_Server/1.3.12.6 Apache/1.3.12 (Unix)
Ralph Mitchell
Richard Cooper wrote:
> Hi,
>
> I would like to use curl to scrape statement information off my bank's
> website but I'm being beaten at the first hurdle.
>
> https://ibank.cahoot.com/servlet/com.aquarius.security.authentication.servle
> t.LoginEntryServlet
>
> get me to the login page in my browser (IE 6) but
>
> curl
> https://ibank.cahoot.com/servlet/com.aquarius.security.authentication.servle
> t.LoginEntryServlet
>
> returns an error page.
>
> -v doesn't produce anything helpful (to me)
> -A to pretend to be IE doesn't help
> the page doesn't seem to rely on having a specific referrer or cookies
>
> Any help would be greatly appreciated.
>
> Cheers,
>
> Rich
>
> --
> Richard Cooper
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-15