Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 967 Bytes

README.md

File metadata and controls

47 lines (36 loc) · 967 Bytes

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"
  ]
}