https://github.com/devanshbatham/getsan
A utility to fetch and display dns names from the SSL/TLS cert data
https://github.com/devanshbatham/getsan
Last synced: about 1 year ago
JSON representation
A utility to fetch and display dns names from the SSL/TLS cert data
- Host: GitHub
- URL: https://github.com/devanshbatham/getsan
- Owner: devanshbatham
- License: mit
- Created: 2023-08-11T19:25:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T19:32:44.000Z (almost 3 years ago)
- Last Synced: 2023-09-05T03:43:55.734Z (almost 3 years ago)
- Language: Go
- Homepage:
- Size: 127 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
getsan
A utility to fetch and display dns names from the SSL/TLS cert data

# Installation
```sh
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`)
```sh
⚓ 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"
]
}
```