Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


[MassDomainChecker] Bash Script to find 2 or 3 letter domains (or use with your own dictionary file)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[MassDomainChecker] Bash Script to find 2 or 3 letter domains (or use with your own dictionary file)

hoczajhoczaj Member
edited June 2014 in General

You may struggled like me in the past, finding cool, short domains. Like: ay.ee, or uxy.co (those are still free)
So I came up with a script that made my life easier.

Please note: This is a really simple, basic script! :)
I share it with you, because you may find it useful:
https://github.com/hocza/mdac

Installation

If you do not have "whois" installed, the script tries to 'sudo apt-get install whois'
git clone http://github.com/hocza/mdac cd mdac chmod +x domain.sh ./domain.sh

Usage

./domain.sh <TLD> [string] [list]

  • TLD You have to give the top level domain.
    For example: ./domain.sh com

  • string (Optional) The string that indicates that the domain is not taken.
    For example: ./domain.sh com "Not found"
    Default is: "Not found"

  • list (Optional) Custom domain list/dictionary.

If you want to check for 3 char available domains, just simply:

./domain.sh co
Since the script checks for 3 char domains by default.

Some whois server give different answer if the domain is still free. You can change the default "Not found" string to anything you wish.

./domain.sh pl "No information available"

You can use custom list. For example If you're looking for two char domains instead of three. (File of the Permutations of {a..z}{a..z} included: 2clist)

./domain.sh co "Not found" 2clist

Or you can use any dictionary, separated with space or enter.

Available domains will be written to domain.free file during the process!

Comments

  • Isn't there a limit on every whois server?

    Thanked by 1Mark_R
  • hoczajhoczaj Member
    edited June 2014

    Yes there is. Some has 120 request / minute. Some of them ban you for 2 minutes if you request 20 in 1 minute.

    However you can edit the sleep value as you wish.
    sleep=1.
    Then run in background, next day you have all available domains in domain.free file.

    Maybe I'll add a "distributed query" function to the To-Do list :)

  • VPNVPN Member

    Cool script. I just picked up a handful of 3 and 4 letter .xyz domains yesterday.

  • CakeyCakey Member

    I wish I had this when I was searching after a good .gy name, took me a while to find my nice pi.gy, nice script never the less

    Thanked by 2hoczaj ATHK
  • AlexanderMAlexanderM Member, Top Host, Host Rep

    Fuck that's cool. Well done.

  • thanks will use this.

  • hoczajhoczaj Member

    Thank you for your kind words :)

  • AlexanderMAlexanderM Member, Top Host, Host Rep

    works great :)

    Alexander-iMac:~ Alexander$ git clone http://github.com/hocza/mdac
    Cloning into 'mdac'...
    remote: Counting objects: 14, done.
    remote: Compressing objects: 100% (12/12), done.
    remote: Total 14 (delta 4), reused 12 (delta 2)
    Unpacking objects: 100% (14/14), done.
    Checking connectivity... done.
    Alexander-iMac:~ Alexander$ cd mdac
    Alexander-iMac:mdac Alexander$ chmod +x domain.sh
    Alexander-iMac:mdac Alexander$ ./domain.sh
    Mass Domain Availability Checker Script 0.0.1
    2014 - Jozsef Hocza 
    Github: github.com/hocza/
    --------------------------
    The script by default checks the permutation of 3 characters. (a..z)
    Or, you can use your own dictionary
    e.g.: ./domain.sh co "Not found" mylist
    --------------------------
    Usage: ./domain.sh  [string] [list]
                You have to give the top level domain. 
                     For example: ./domain.sh com
           [string]  (Optional) 
                     The string that indicates 
                     that the domain is not taken.
                     For example: ./domain.sh com "Not found"
                     Default is: "Not found"
             [list]  (Optional) 
                     Custom domain list/dictionary.
                     You can use your own word list.
    Alexander-iMac:mdac Alexander$ 
    
  • rmlhhdrmlhhd Member

    Works well although I'm getting No whois server is known for this kind of object. for .xyz and .wiki

  • rmlhhdrmlhhd Member

    Doesn't matter, I found added the host to the WHOIS command within .sh file.

  • GunterGunter Member
    edited June 2014

    How do I convert this for 4 letters?

  • nerouxneroux Member

    @darknyan said:
    How do I convert this for 4 letters?

    Line 35 in the shell script.

  • @darknyan said:
    How do I convert this for 4 letters?

    I guess you can use a 4 letter dictionary or do you mean random 4 letter?

  • BradBrad Member

    Nicely done.

  • hoczajhoczaj Member
    edited June 2014

    @darknyan yes you can edit the shell script itself.

    Or generate your own random 4 letter dictionary:
    echo {a..z}{a..z}{a..z}{a..z} > 4clist

    Thanked by 1qrwteyrutiyoup
  • hoczajhoczaj Member

    Okay guys, I get a lot of "oh it is not working for me" or "how do I do that or this"

    I decided to make a web app for you: https://stack.xyz
    It is collecting the free domains right now. It will take a while to check all possibilities and almost all tlds, but while it is scrapping data, you can still use it. :)

  • DavidxDavidx Member

    @hoczaj said:
    Okay guys, I get a lot of "oh it is not working for me" or "how do I do that or this"

    I decided to make a web app for you: https://stack.xyz
    It is collecting the free domains right now. It will take a while to check all possibilities and almost all tlds, but while it is scrapping data, you can still use it. :)

    how'd you make that? :P
    Copyright 2013 should be fixed, heads up. :)

Sign In or Register to comment.