go install github.com/devanshbatham/getsan@latest
- 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"
]
}