cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: problem with post https

From: mierda tuti <mierdatuti_at_gmail.com>
Date: Wed, 23 Nov 2011 10:56:28 +0100

Thanks again Dan

I fix the User-Agent string and the Referer. I look for hidden fields but I
don't find nothing. In Live HTTP Headers I see:
 https://www.sportstracklive.com/signin
*
POST /signin HTTP/1.1
Host: www.sportstracklive.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.2.3)
Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://www.sportstracklive.com/signin
Cookie: JSESSIONID=FCDA2111841AE860F261B315634BBE84;
__utma=213534422.2013686047.1322041324.1322041324.1322041324.1;
__utmb=213534422.1.10.1322041324; __utmc=213534422;
__utmz=213534422.1322041324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
Content-Type: application/x-www-form-urlencoded
Content-Length: 132
userCredentialsForm.userCredentials.email=username%40gmail.com
&userCredentialsForm.userCredentials.password=PASSWORD&_target1=Login
HTTP/1.1 302 Moved Temporarily
Date: Wed, 23 Nov 2011 09:45:07 GMT
Server: Apache/2.2.17 (CentOS)
Pragma: No-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache, no-store
Location: https://www.sportstracklive.com/user/username
Content-Language: es-ES
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8*

I don't know what can I do.
Please...

2011/11/22 Dan Fandrich <dan_at_coneharvesters.com>

> On Tue, Nov 22, 2011 at 10:05:33AM +0100, mierda tuti wrote:
> > Many thanks Dan,
> > I'm trying to see with Live HTTP Headers and I thing that I do
> everything ok.
>
> "Everything"? At the very least, the User-Agent string doesn't match any
> known browser, and there's no Referer: header, so it can't be exact.
> Does the _target1 field contain any digits when a browser sends it? Are
> there any hidden fields being sent by a browser that aren't being sent
> by curl? These may seem minor, but you can't overlook them. Please do read
> the HTTP scripting page I referred to.
>
> >>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-23