{"id":21534437,"url":"https://github.com/equk/tls-altnames","last_synced_at":"2026-05-09T09:11:46.545Z","repository":{"id":149680555,"uuid":"241928025","full_name":"equk/tls-altnames","owner":"equk","description":":lock: List Alternative Names From TLS For OSINT","archived":false,"fork":false,"pushed_at":"2020-02-20T16:12:07.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T20:14:37.021Z","etag":null,"topics":["bash","https","linux","mail","osint","tls"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/equk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-20T16:06:57.000Z","updated_at":"2024-11-08T18:05:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"66653309-85e9-4a34-abfb-210a9ad2cc8b","html_url":"https://github.com/equk/tls-altnames","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/equk/tls-altnames","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Ftls-altnames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Ftls-altnames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Ftls-altnames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Ftls-altnames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/equk","download_url":"https://codeload.github.com/equk/tls-altnames/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Ftls-altnames/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261495452,"owners_count":23167319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","https","linux","mail","osint","tls"],"created_at":"2024-11-24T03:10:46.810Z","updated_at":"2026-05-09T09:11:41.503Z","avatar_url":"https://github.com/equk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :lock: tls-altnames\n\nList `Subject Alternative Name` from TLS Certificates for `osint`.\n\n## Features\n\n- [x] Extract Subdomains from HTTPS Websites\n- [x] Extract Subdomains from SMTP Mailservers\n\nMore information can be found on blog post: [Finding Subdomains From TLS](https://equk.co.uk/2017/01/20/finding-subdomains-from-tls)\n\n## Usage Example\n\n```sh\n./https_altnames.sh example.com\n[+] Getting TLS over HTTPS for  [  example.com  ]\n[+] Checking for Subject Alt Names\n\nexample.com\nwww.example.com\nmail.example.com\ndev.example.com\nsmtp.example.com\nhidden.example.com\n```\n\n## Interesting Fields\n\nIf you work with TLS certificates you will know they contain a lot of information and have various sections \u0026 fields.\n\nOne interesting field is `Subject Alternative Name` which can provide all subdomains that can use the certificate. *(unless the company uses a wildcard certificate)*\n\n```\nCertificate:\n    Data:\n        X509v3 extensions:\n            X509v3 Subject Alternative Name:\n```\n\nThis is the main field the script will try to extract.\n\n# Contact\n\nWebsite: https://equk.co.uk\n\nTwitter: [@equilibriumuk](https://twitter.com/equilibriumuk)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequk%2Ftls-altnames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fequk%2Ftls-altnames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequk%2Ftls-altnames/lists"}