summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-21 21:24:40 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-21 21:24:40 +0100
commit86ac47e98b8a02d0aaf398283dd3e907530cec8f (patch)
tree7fa13fb02597db03c4a42e2ba7bc87f0a356e938
parentudated README.md, added a neat sentence (diff)
downloadshort-domain-finder-86ac47e98b8a02d0aaf398283dd3e907530cec8f.tar
short-domain-finder-86ac47e98b8a02d0aaf398283dd3e907530cec8f.tar.gz
short-domain-finder-86ac47e98b8a02d0aaf398283dd3e907530cec8f.tar.bz2
short-domain-finder-86ac47e98b8a02d0aaf398283dd3e907530cec8f.tar.lz
short-domain-finder-86ac47e98b8a02d0aaf398283dd3e907530cec8f.tar.xz
short-domain-finder-86ac47e98b8a02d0aaf398283dd3e907530cec8f.tar.zst
short-domain-finder-86ac47e98b8a02d0aaf398283dd3e907530cec8f.zip
-rw-r--r--es.php39
-rw-r--r--shortdomains.sh8
2 files changed, 43 insertions, 4 deletions
diff --git a/es.php b/es.php
new file mode 100644
index 0000000..7c5c246
--- /dev/null
+++ b/es.php
@@ -0,0 +1,39 @@
+#!/usr/bin/env php
+<?php
+// queries samoanic (ws tld) www service whois that has no limits and no captchas. run from commandline with
+// $ php ws.php
+// and not from browser/server, you will get a 504 gateway timeout or php sock will kill itself ˘~˘
+header("Content-type: text/plain");
+$znaki = array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m",
+"n", "o", "p", "q", "r", "s", "t", "u", "v", "x", "y", "z");
+foreach($znaki as $znak1) {
+ foreach($znaki as $znak2) {
+ $postdata = http_build_query(
+ array(
+ 'userid' => '',
+ 'xs' => "",
+ 'notfromwhois' => '',
+ 'domain' => $znak1.$znak2,
+ 'tld' => "WS"
+ )
+ );
+
+ $opts = array('http' =>
+ array(
+ 'method' => 'POST',
+ 'header' => 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8',
+ 'content' => $postdata
+ )
+ );
+
+ $context = stream_context_create($opts);
+
+ $result = file_get_contents('http://samoanic.ws/whois.dhtml', false, $context);
+ if (strpos($result, 'Congratulations') !== false) {
+ echo $znak1.$znak2.".ws <-- FREE\n";
+ } else {
+ echo $znak1.$znak2.".ws <-- REGISTERED\n";
+ }
+ }
+}
+?>
diff --git a/shortdomains.sh b/shortdomains.sh
index d08b769..4bd8847 100644
--- a/shortdomains.sh
+++ b/shortdomains.sh
@@ -23,10 +23,10 @@ if [ -n "$1" ] ; then
# .no domain: norwegian, uninett norid registry, 3000 queries per day wait till midnight
# .de domain: germany, no data of registry, 1000 queries per day or ban
# .it domain: italy, no data of registry, no data of requests per time amount
- tlds=(si no de it ru co uk me us ca pw fr cc cn be)
- 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')
- denieds=('Query denied' 'limit exceeded' '55000000002' 'denied', 'You have exceeded allowed connection rate', 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied' 'denied') ## idk about .it and .co and .me and .us and .ca and .pw and .fr and .cc and .cn and .be
- sleeps=(36 29 87 87 2 87 87 87 87 87 60 87 87 87 87) # idk about .me .it .uk .us .ca .fr .cc .cn .be delay between requests in seconds to prevent ban
+ 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.')
+ 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' 'denied' 'denied' 'denied') # ne vem za: it co me us ca pw fr cc cn be nl tn eu cz dk ro lt at 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
spanje=${sleeps[0]} # max sleep of sleeps will be the sleep (-;