index.md (709B)
1 autologin 2 ========= 3 4 Feel free to post autologin scripts for your favorite site. __Do not forget to 5 remove your passwords from the script!!!__ 6 7 * Twitter 8 9 10 #!/bin/bash 11 read -p "Name: " name 12 read -p "Password: " -s pass 13 echo 14 curl --cookie ~/.surf/cookies.txt --cookie-jar ~/.surf/cookies.txt \ 15 -d "session[username_or_email]=$name" \ 16 -d "session[password]=$pass" \ 17 -d "remember_me=1" \ 18 -d "commit=Sign In" \ 19 http://twitter.com/sessions > /dev/null 20 curl --cookie ~/.surf/cookies.txt --cookie-jar ~/.surf/cookies.txt \ 21 http://twitter.com/ > /dev/null 22 surf http://mobile.twitter.com 23 24 25 Author 26 ------ 27 28 * Enno Boland (Gottox) < g s01 de > 29