Created
December 13, 2012 10:44
-
-
Save jetpks/4275649 to your computer and use it in GitHub Desktop.
Find all available 2 letter .io domain names.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'whois' | |
| c = Whois::Client.new | |
| ('a'..'z').to_a.shuffle!.each do |starter| | |
| ('a'..'z').to_a.shuffle!.each do |ender| | |
| #puts "Trying #{starter}#{ender}.io" | |
| if c.query("#{starter}#{ender}.io").available? | |
| puts "FOUND AVAILABLE!! AWESOME! : #{starter}#{ender}.io" | |
| end | |
| sleep(rand(1..6)) | |
| end | |
| end |
Nice little script @Techbrunch. Appreciate your sharing. Fwiw, it seems to die after about 10-20 queries fairly consistently. Not sure if they've got some kind of a limiter or what exactly.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New version: