Skip to content

Commit

Permalink
update tools/checkdomains.sh fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Aug 29, 2017
1 parent b0169ff commit 67e7af5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/checkdomains.sh
Expand Up @@ -102,6 +102,8 @@ for d in ${OTHERDOMAINS[@]}; do
if [[ "$WHOIS_SHOWREGISTRANT" = [yY] ]]; then
whois_registrant=$(egrep -i 'domain name:|registrant name:|registrant email:|admin name:|admin email:' "${CTMPDIR}/${d}.txt")
echo "$whois_registrant"
else
echo
fi
if [[ "$WHOIS_SHOWNS" = [yY] ]]; then
for ns in ${whoisns[@]}; do
Expand Down Expand Up @@ -167,6 +169,8 @@ for d in ${OTHERDOMAINS[@]}; do
if [[ "$WHOIS_SHOWREGISTRANT" = [yY] ]]; then
whois_registrant=$(egrep -i 'domain name:|registrant name:|registrant email:|admin name:|admin email:' "${CTMPDIR}/${d}.txt")
echo "$whois_registrant"
else
echo
fi
DOMAINIPS=$(dig -4 ${DIGOPTS} @${WHOIS_NAMESERVER} +short A $d)
for ip in ${DOMAINIPS[@]}; do
Expand Down Expand Up @@ -247,6 +251,8 @@ for d in ${OTHERDOMAINS[@]}; do
if [[ "$WHOIS_SHOWREGISTRANT" = [yY] ]]; then
whois_registrant=$(egrep -i 'domain name:|registrant name:|registrant email:|admin name:|admin email:' "${CTMPDIR}/${d}.txt")
echo "$whois_registrant"
else
echo
fi
if [[ "$WHOIS_SHOWNS" = [yY] ]]; then
for ns in ${whoisns[@]}; do
Expand Down Expand Up @@ -319,6 +325,8 @@ if [[ "$CHECKDOMAINS_DEBUG" != [yY] ]]; then
if [[ "$WHOIS_SHOWREGISTRANT" = [yY] ]]; then
whois_registrant=$(egrep -i 'domain name:|registrant name:|registrant email:|admin name:|admin email:' "${CTMPDIR}/${d}.txt")
echo "$whois_registrant"
else
echo
fi
if [[ "$WHOIS_SHOWNS" = [yY] ]]; then
for ns in ${whoisns[@]}; do
Expand Down Expand Up @@ -384,6 +392,8 @@ if [[ "$CHECKDOMAINS_DEBUG" != [yY] ]]; then
if [[ "$WHOIS_SHOWREGISTRANT" = [yY] ]]; then
whois_registrant=$(egrep -i 'domain name:|registrant name:|registrant email:|admin name:|admin email:' "${CTMPDIR}/${d}.txt")
echo "$whois_registrant"
else
echo
fi
DOMAINIPS=$(dig -4 ${DIGOPTS} @${WHOIS_NAMESERVER} +short A $d)
for ip in ${DOMAINIPS[@]}; do
Expand Down Expand Up @@ -464,6 +474,8 @@ if [[ "$CHECKDOMAINS_DEBUG" != [yY] ]]; then
if [[ "$WHOIS_SHOWREGISTRANT" = [yY] ]]; then
whois_registrant=$(egrep -i 'domain name:|registrant name:|registrant email:|admin name:|admin email:' "${CTMPDIR}/${d}.txt")
echo "$whois_registrant"
else
echo
fi
if [[ "$WHOIS_SHOWNS" = [yY] ]]; then
for ns in ${whoisns[@]}; do
Expand Down

0 comments on commit 67e7af5

Please sign in to comment.