
Untitled
By: a guest on
Sep 12th, 2011 | syntax:
None | size: 1.80 KB | hits: 3,861 | expires: Never
wget "https://accounts.google.com/ServiceLoginAuth" \
-O google1 \
--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)" \
--header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
--header="Accept-Language: en-us,en;q=0.5" \
--header="Accept-Encoding: gzip,deflate" \
--header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" \
--header="Keep-Alive: 300" \
--header="Connection: keep-alive" \
--keep-session-cookies \
--save-cookies=google.txt \
--no-check-certificate
GALX=$(grep "GALX" /LEMONSTAND/google.txt | cut -f 7)
dsh=$(/LEMONSTAND/get_byxpath3.py "//input" "//input[@type='hidden'][@name='dsh'][@value]/@value" /LEMONSTAND/google1 | head -n 1)
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=" \
-O google2 \
--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)" \
--header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
--header="Accept-Language: en-us,en;q=0.5" \
--header="Accept-Encoding: gzip,deflate" \
--header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" \
--header="Keep-Alive: 300" \
--header="Connection: keep-alive" \
--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" \
--keep-session-cookies \
--save-cookies=google.txt \
--load-cookies=google.txt \
--no-check-certificate