TextExpander: Get Domain Information - WhoIs Record29 Oct 2014
A little while back I spent a bit of time investigating some domain names for a project I was working on. As you may know, you can see all sorts of useful information about a domain by looking up it’s Who Is record. In order to save time I came up with a couple of TextExpander snippets to help with that.
Whilst there are many services available online where you can manually lookup a Who Is record, I wanted to be able to scrape the information in a simple format. The service I elected to use in the end is provided by hackertarget.com and whilst it only allows 50 lookups per IP address per day this was sufficient to meet my own daily needs from my own unique IP address.
The TextExpander snippet runs a BASH script which simply uses a CURL command to query hackertarget.com for the Who Is information. It really is as straight forward as that. The two snippets below simply provide options to have a user enter in the domain to lookup into a prompt or to take a domain stored on the clipboard and use that instead.
|Label||Run WhoIs (Manual)|
|Description||Lookup the who is record for a user entered domain.|
|Label||Run WhoIs (Clipboard)|
|Description||Lookup the who is record for a domain on the clipboard.|
These snippets can be downloaded as part of the Thought Asylum Shell Commands snippet group.