Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grabAndCatch(){
- local STRING=$1
- for (( i = 0; i < 10; i++ )); do
- local RESULT=$(curl -s "http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=${STRING}&start=${i}0" \
- -H "Host: www.google.com" \
- -H "User-Agent: ncmpcpp 0.7" \
- -H "Accept: */*" \
- -H "accept-language: en-US,en;q=0.9" \
- -H "Referer: http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=${STRING}&btnI=I%27m+Feeling+Lucky")
- if [[ ${RESULT} =~ "did not match any documents." ]]; then
- printf "[!] LAST PAGE \n\n"
- return 1
- fi
- local SITE=$(echo "${RESULT}" | grep -Po "(?<=<cite>).*?(?=</cite>)" | sed -e 's/<[^>]*>//g')
- printf "\e[1;97mPAGE ${i} \e[32m[${STRING}]\e[0m\n"
- for url in ${SITE}; do
- echo "- ${url}"
- done
- done
- echo
- }
- printf "\n\e[97m' I believe that pipe smoking contributes to \n a somewhat calm and objective judgment in all human affairs.'\e[0m\n - \e[1;97mAlbert Einstein\e[0m\n\n"
- printf "\e[1;31mGoogle Bypass Capcay ? \e[0m\nWritten lovingly by \e[1;97mccocot (ccocot@bc0de.net)\e[0m\n\n"
- for word in $(cat $1); do
- grabAndCatch "${word}"
- done
Add Comment
Please, Sign In to add comment