Login to google by script
From SHellium Wiki
I wrote few lines to login into google service. I'll write a picasa script to add images in console, via browsing picasa web.
FOR EDUCATIONAL PURPOSE ONLY
Only login process here:
## LOGIN A GOOGLE SERVICE USER="usernamehere" PASSWD="pass_here" URL='https://www.google.com/accounts/ServiceLogin'; ID=$(curl -c cj $URL|grep value|tail -n 1 |awk -F \" '{print $2}') GALX=$(cat cj | awk -F " " '/google/ {print $7}'); CMD="curl -D - -v -A \"Mozilla/2.0\" -s -b cj -c cj -d Email=$USER -d Passwd=$PASSWD -d dsh=$ID -d GALX=$GALX $URL" eval $CMD
And than.. put your code to manage stuff on google services.