From a104d7bae89950617f8f804baf93537c28fabfe9 Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 13 Jan 2021 20:00:32 +0100 Subject: fix bash version and lt available syntax --- shortdomains.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shortdomains.sh b/shortdomains.sh index 46f056d..1c0e53d 100755 --- a/shortdomains.sh +++ b/shortdomains.sh @@ -25,7 +25,7 @@ if [ -n "$1" ] ; then # .it domain: italy, no data of registry, no data of requests per time amount oneltr=(0 0 1 0 0 1 1 0 1 0 0 1 1 1 0 0 0 0 0 1 1 1 0 1 1 0 1) tlds=(si no de it ru co uk me us ca pw fr cc cn be nl tn eu su cz dk ro lt at se hu nu) - availables=('No entries found' 'No whois information found' 'Status: free' 'Status: AVAILABLE' 'No entries found for the selected source' 'No Data Found' 'No whois information found.' 'NOT FOUND' 'No Data Found' 'Not found' 'DOMAIN NOT FOUND' 'No entries found' 'No whois information found.' 'No whois information found.' 'Status: AVAILABLE' '.nl is free' 'NO OBJECT FOUND!' 'Status: AVAILABLE' 'No entries found for the selected source(s).' '%ERROR:101: no entries found' 'Not found:' 'No entries found for the selected source(s).' 'available' 'nothing found' ' not found.' 'No match' 'not found') + availables=('No entries found' 'No whois information found' 'Status: free' 'Status: AVAILABLE' 'No entries found for the selected source' 'No Data Found' 'No whois information found.' 'NOT FOUND' 'No Data Found' 'Not found' 'DOMAIN NOT FOUND' 'No entries found' 'No whois information found.' 'No whois information found.' 'Status: AVAILABLE' '.nl is free' 'NO OBJECT FOUND!' 'Status: AVAILABLE' 'No entries found for the selected source(s).' '%ERROR:101: no entries found' 'Not found:' 'No entries found for the selected source(s).' 'Status: available' 'nothing found' ' not found.' 'No match' 'not found') denieds=('Query denied' 'limit exceeded' '55000000002' 'denied', 'You have exceeded allowed connection rate' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'You have exceeded allowed connection rate' 'denied' 'denied' 'denied' 'denied' 'Quota exceeded' 'denied' 'denied' 'denied') # ne vem za: it co me us ca pw fr cc cn be nl tn eu cz dk ro lt se hu nu sleeps=(36 29 87 87 2 87 87 87 87 87 60 87 87 87 87 173 173 1 2 173 87 173 1 87 1 87 1) # idk about: me it uk us ca fr cc cn be tn cz dk at hu # add your domains, you get the point @@ -110,8 +110,8 @@ if [ $ok ] ; then tldcount=${#tlds[@]} for (( i=0; i<$tldcount; i++ )); do - mv freedomains.$tlds[$i] freedomains.$tlds[$i].old - echo "---> moved freedomains.$tlds[$i] to freedomains.$tlds[$i].old" + mv freedomains.${tlds[$i]} freedomains.${tlds[$i]}.old > /dev/null &> /dev/null + echo "---> moved freedomains.${tlds[$i]} to freedomains.${tlds[$i]}.old" done echo "---> Starting... Delay: "$spanje s", TLDs: "$tldcount"." for domain in $list # do for every 2 character possibility -- cgit v1.2.3