Skip to content

A utility to fetch and display dns names from the SSL/TLS cert data

License

Notifications You must be signed in to change notification settings

devanshbatham/getsan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

getsan

A utility to fetch and display dns names from the SSL/TLS cert data

🏗️ Installation ⛏️ Usage

getsan

Installation

go install github.com/devanshbatham/getsan@latest

Usage

  • Fetches and displays dns names from the SSL/TLS cert data
  • Uses concurrency for efficient and fast lookups (e.g. -c 200)
echo "cdn.syndication.twitter.com" | getsan | jq

{
  "domain": "cdn.syndication.twitter.com",
  "common_name": "syndication.twitter.com",
  "org": [
    "Twitter, Inc."
  ],
  "dns_names": [
    "syndication.twitter.com",
    "syndication.twimg.com",
    "cdn.syndication.twitter.com",
    "cdn.syndication.twimg.com",
    "syndication-o.twitter.com",
    "syndication-o.twimg.com"
  ]
}

About

A utility to fetch and display dns names from the SSL/TLS cert data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages