The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 16, 2019, 11:43:11 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Blogger login  (Read 3875 times)
Boss
n00b
*
Offline Offline

Posts: 7


View Profile
« on: December 09, 2007, 12:08:33 PM »

Hello guys.

I'm having a problem with logging into blogger account via curl. I'm not sure why it's not working. I set everything (looked at headers with livehttpheaders), catch all those continue links (when javascript is disabled) and I'm still not able to login. When the script goes to final step, it just returns me blogger's login form.

Does anyone have php script or know how to login with php and curl?

Thanks.
Logged

No links in signatures please
chide
Rookie
**
Offline Offline

Posts: 20


View Profile WWW
« Reply #1 on: December 09, 2007, 02:06:15 PM »

Probably a stupid question, but are you handling the cookie(s) correctly?
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #2 on: December 09, 2007, 02:44:01 PM »

That's what I'm thinking as well
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Boss
n00b
*
Offline Offline

Posts: 7


View Profile
« Reply #3 on: December 09, 2007, 03:50:13 PM »

Yes, the script handles cookies.

The thing is that when you disable javascript and log into blogger account, there's a link you have to follow. When you click it, it redirects you to another page with refresh link. I extract that link and when the script follows it, it won't let me in (when I'm doing with the script). But when I do it manually (with js disabled) it logs me in.
Logged

No links in signatures please
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #4 on: December 09, 2007, 04:05:26 PM »

Are you passing the referrer to the new URL?
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Boss
n00b
*
Offline Offline

Posts: 7


View Profile
« Reply #5 on: December 09, 2007, 04:22:38 PM »

Yes, I pass both, referrers and useragent.
Logged

No links in signatures please
nop_90
Global Moderator
Lifer
*****
Offline Offline

Posts: 2203


View Profile
« Reply #6 on: December 09, 2007, 04:37:52 PM »

It is a tricky script with an iframe.
you have to follow the redirects exactly
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #7 on: December 09, 2007, 09:49:15 PM »

I'd listen to Nop, he's pre-med.  Praise
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!