Advertisement
Guest User

Untitled

a guest
Sep 12th, 2011
8,472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. wget "https://accounts.google.com/ServiceLoginAuth" \
  2. -O google1 \
  3. --user-agent="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110701 Iceweasel/3.5.16 (like Firefox/3.5.16)" \
  4. --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
  5. --header="Accept-Language: en-us,en;q=0.5" \
  6. --header="Accept-Encoding: gzip,deflate" \
  7. --header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" \
  8. --header="Keep-Alive: 300" \
  9. --header="Connection: keep-alive" \
  10. --keep-session-cookies \
  11. --save-cookies=google.txt \
  12. --no-check-certificate
  13.  
  14. GALX=$(grep "GALX" /LEMONSTAND/google.txt | cut -f 7)
  15. dsh=$(/LEMONSTAND/get_byxpath3.py "//input" "//input[@type='hidden'][@name='dsh'][@value]/@value" /LEMONSTAND/google1 | head -n 1)
  16.  
  17. wget "https://accounts.google.com/ServiceLoginAuth?pstMsg=1&dnConn=https%3A%2F%2Faccounts.youtube.com&continue=http%3A%2F%2Fwww.google.com%2Finsights%2Fsearch%2F%23q%3Dcomputer%26cmpt%3Dq&service=trendspro&nui=1&dsh=$dsh&hl=en-US&timeStmp=&secTok=&GALX=$GALX&Email=BLAH%40gmail.com&Passwd=$PASSWORD&rmShown=1&signIn=Sign+in&asts=" \
  18. -O google2 \
  19. --user-agent="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110701 Iceweasel/3.5.16 (like Firefox/3.5.16)" \
  20. --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
  21. --header="Accept-Language: en-us,en;q=0.5" \
  22. --header="Accept-Encoding: gzip,deflate" \
  23. --header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" \
  24. --header="Keep-Alive: 300" \
  25. --header="Connection: keep-alive" \
  26. --referer="https://accounts.google.com/serviceLogin?hl=en-US&nui=1&service=trendspro&continue=http%3A%2F%2Fwww.google.com%2Finsights%2Fsearch%2F%23q%3Dcomputer%26cmpt%3Dq" \
  27. --keep-session-cookies \
  28. --save-cookies=google.txt \
  29. --load-cookies=google.txt \
  30. --no-check-certificate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement