Mira, ya os han hecho el script:
Código:
#!/bin/bash
set -x
found=-1
while [ "${found}" -ne 0 ]; do
hash=$(cat /dev/urandom | tr -cd 'a-f0-9' | head -c 8)
url="[HTTP]android.clients.google.com/packages/passion/signed-passion-GRI40-from-FRG83G.${hash}.zip"
$(wget --quiet --timeout 5 -U "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Ubuntu/10.10 Chromium/9.0.597.98 Chrome/9.0.597.98 Safari/534.13" "${url}")
found="${?}"
sleep $(((${RANDOM}%8)+3))
done
echo "Found GRI40 URL: ${url}"
echo "${url}" > "${HOME}/gri40_${hash}.txt"
exit

