• Stars
    star
    530
  • Rank 83,660 (Top 2 %)
  • Language
    HTML
  • Created over 15 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Given a domain, will tell you the decisions that the domain owner has made.

What is domain-profiler?

domain-profiler is a tool that uses information from various sources (Whois, DNS, SSL, ASN) to determine what decisions have been made regarding a domain or list of domains.

These decisions fall into two categories:

  1. Decisions that cost money.
    • Where the website is hosted.
    • Where DNS is hosted.
    • Where email is hosted.
    • The registrar of the domain.
    • Who issued the domain's SSL certificate (if anybody)
    • What sort of SSL certificate the domain has (if any)
  2. Decisions that might or might not cost money.
    • Does the website use an image host like S3 or Imageshack?
    • Does the domain have SPF records? If so, what values?
    • What TTL do the DNS records have?
    • Expiration date for domain.
    • Expiration date for SSL certificate.
    • Is there more than one result for the A, MX, or NS records?
    • Are services hosted in different Autonomous Systems?
    • Are all services (A, MX, NS) in the same AS?
    • Does the main webpage have valid XHTML?
    • What type of frontend is the domain using?
    • What type of mailserver is the domain using?
    • Does the domain have a "*" record in DNS?
    • What sub-domains are dectable via HTTP 3xx redirects?
    • What sub-domains are dectable in the contents of '/'?

This version of domain-profiler only generates reports on the "Decisions that cost money".

Setup and Examples

Setup

The ./profile-list command uses Google Charts, so you'll need to install Matt Aimonetti's googlecharts gem.

gem install googlecharts

Example output from the ./profile command:

$ ./profile github.com
Fetching data for github.com: DNS Whois SSL ...


==========[ github.com ]==========
Web Hosting:
  (Rackspace)
      207.97.227.239

DNS Hosting:
  (anchor.net.au)
      ns1.anchor.net.au.
      ns2.anchor.net.au.
  (EveryDNS.net)
      ns1.everydns.net.
      ns2.everydns.net.
      ns3.everydns.net.
      ns4.everydns.net.

Email Hosting:
  (Google)
      1 ASPMX.L.GOOGLE.com.
      10 ASPMX2.GOOGLEMAIL.com.
      10 ASPMX3.GOOGLEMAIL.com.
      5 ALT1.ASPMX.L.GOOGLE.com.
      5 ALT2.ASPMX.L.GOOGLE.com.

Domain Registrar:
  (Go Daddy)

SSL Issuer:
  (GoDaddy.com, Inc.)
      Common Name: *.github.com

Example output from the ./profile-list command:

Quantcast Top 100

./profile-list quantcast 'Quantcast Top 100' > quantcast.html

Based on the output from the profile-list command, the Quantcast Top 100 domains appear to largely self host their websites, Email, and DNS. Interestingly, a large segment of these domains are registered with Mark Monitor or the Corporation Service Company, presumeably for the domain management and brand protection services that these companies provide. The domains with SSL certificates tend to have certificates issued by VeriSign.

Y Combinator startups

  ./profile-list ycombinator 'Y Combinator startups' > ycombinator.html

Based on the output from the profile-list command, Y Combinator startups use a wide range of web hosts, but tend towards SoftLayer, Amazon, and Slicehost. If they aren't using Google Apps for Email hosting, they do it themselves. They generally do not host DNS themselves (much to my surprise - I expected to see a smaller list of DNS providers). They largely register their domains and get SSL certificates from GoDaddy, which I found surprising considering GoDaddy's reputation

Thanks

  • Brian Lopez for help with Ruby and RSpec.
  • Team Cymru for the awesome IP to ASN API.
  • Hacker News user brett for the inspiration.
  • Jed Smith for the advice on using ARIN's WHOIS to find more accurate OrgName data on IP addresses.

LICENSE

(The MIT License)

Copyright (c) 2009-2010 Joel Franusic <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

jsondns

DNS over HTTP
Ruby
119
star
2

lokey

A tool that makes it easy to work with and convert between cryptographic key formats
Python
93
star
3

okta-pysaml2-example

Example SAML Service Provider for Python/Flask using PySAML2
Python
72
star
4

dial-a-cat

855-MEOW-JAM
OpenEdge ABL
70
star
5

Twilio-TFA

JavaScript
69
star
6

Zoom.spoon

Unofficial Zoom Spoon for Hammerspoon
Lua
48
star
7

wikigifs

Every animated GIF on Wikipedia
Python
48
star
8

okta-jwks-to-pem

Convert modulus and exponent from JWK to PEM
Python
41
star
9

TwilioSheet

A Python Flask application to take Twilio SMSes and submit them to a Google Form
CSS
27
star
10

sms-via-email

Using SendGrid and Twilio to send and receive SMS messages via email.
Python
23
star
11

okta-oidc-beta

Instructions and sample code for Okta's OpenID Connect Beta
Python
22
star
12

Zendesk-Twilio-SMS

Integrate Twilio SMS with Zendesk
Ruby
14
star
13

okta-simplesamlphp-example

An example PHP application that uses SimpleSAMLphp
PHP
13
star
14

okta-get-id-token

Bash script to fetch an OpenID Connect id_token from Okta
Shell
11
star
15

.profile.d

My configuration files
Emacs Lisp
10
star
16

hacker-news-wp7

A Hacker News reader for the Windows Phone 7
C#
10
star
17

ftp-to-s3

An FTP server that uploads every file it receives to S3
Python
10
star
18

system-settings

Ansible playbooks for my system settings
Shell
9
star
19

requestbin

Python
8
star
20

fictional-microprocessors

A list of fictional microprocessors
7
star
21

loghook

Turn events in the Okta System Log into webhooks
Go
7
star
22

gannet

A Python parser for the Amazon Kindle "My Clippings.txt" file
Python
6
star
23

super-widget

Single Page Application that demonstrates the Okta Sign-In Widget
CSS
5
star
24

couchdns

A CouchApp to manage jsondns data
JavaScript
4
star
25

dotnet-core-and-nancy-example

A short writeup of what it took for me to get a basic working "hello world" application working with .NET and Nancy on my Mac.
C#
4
star
26

oktane15

4
star
27

block-echo

Example WebPipe block written in Python
Python
4
star
28

okta-api-mock

Mocking server for the Okta API
Python
4
star
29

workflows-scim-relay

A SCIM-to-Okta proxy implemented using Cloudflare workers and Okta Workflows
JavaScript
3
star
30

filepicker-twilio-example

Sending images via SMS with Filepicker and Twilio
JavaScript
3
star
31

token-cleaner

Turn an authentication token into a similar looking, but obviously fake token
Python
2
star
32

resume

My Resume
TeX
2
star
33

old-jpf-github-com

My github webpage
2
star
34

golang-gin-vue

RESTful API in Go and Gin with Vue SPA front end
Vue
1
star
35

okta-ssr-beta

Example OIDC RP with Okta RaaS widget
JavaScript
1
star
36

qemu-hello-world-asm

Output all of the assmbler needed to print "Hello, World" after booting Linux
1
star
37

fx6

'fx6' is a holiday based on time_t. A celebration that happens when the last six digits of the hex representation of time_t is equal to 'ffffff'.
C
1
star
38

FileGenerator

A file-like object class for Python. Reads go into a Queue, writes come from the queue via a generator.
Python
1
star