summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-01-13 20:00:32 +0100
committersijanec <anton@sijanec.eu>2021-01-13 20:00:32 +0100
commita104d7bae89950617f8f804baf93537c28fabfe9 (patch)
tree19593d1f71a63d570542d655d3aa5546461fdb6f
parentgitignored whois data (diff)
downloadshort-domain-finder-master.tar
short-domain-finder-master.tar.gz
short-domain-finder-master.tar.bz2
short-domain-finder-master.tar.lz
short-domain-finder-master.tar.xz
short-domain-finder-master.tar.zst
short-domain-finder-master.zip
-rwxr-xr-xshortdomains.sh6
1 files 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