Jump to content

Login without post statement


ntesla123

Recommended Posts

  Quote

I want to make a curl login script to a website where I have an account. When I try to use httpheaders to find out which variables are posted when I log in, I can't see any post statement.

 

How do I log in to sites like that?

Do you have any code we can see?

I'm trying to log into a site like this one.

 

http://www.celebritymoviearchive.com/members/

 

It uses a get statement with

Authorization: Basic bmxwdGVjaDFAaG90bWFpbC5jb206eGVobW51NGU=

 

This is the data that's sent:

 

 

GET /members/ HTTP/1.1

 

Host: www.celebritymoviearchive.com

 

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.04 (lucid) Firefox/3.6.16

 

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

 

Accept-Language: en-us,en;q=0.5

 

Accept-Encoding: gzip,deflate

 

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

 

Keep-Alive: 115

 

Connection: keep-alive

 

Authorization: Basic bmxwdGVjaDFAaG90bWFpbC5jb206eGVobW51NGU=

 

 

 

HTTP/1.1 200 OK

 

Date: Wed, 06 Apr 2011 22:07:35 GMT

 

Server: Apache/2.2

 

X-Powered-By: PHP/5.3.6

 

Content-Encoding: gzip

 

Vary: Accept-Encoding

 

Content-Length: 2608

 

Keep-Alive: timeout=15, max=100

 

Connection: Keep-Alive

 

Content-Type: text/html

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.