Skip to content

imyelo/certip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

certip

🕵 Lookup IPs behind domain via SSL Cert

Get Started

$ npx certip github.com

Usage

Shell Command

$ npx certip <domain> --port <port?=443> --timeout <timeout?=10000>

# e.g.
$ npx certip github.com --port 443 --timeout 10000

â ‡ IPs lookup...

Host:
github.com

Cert Serial:
17034156255497985825694118641198758684

IPs:
- 167.71.50.75
- 64.226.90.132
- 89.21.66.215
- 169.150.212.67
- 64.226.64.124
- 138.68.186.93
- 185.90.61.141
- 194.195.244.129
- 169.150.210.46
- 185.213.23.133

✔ IPs lookup success

Programmatic API

import { getCertIPs } from 'certip'

const { serial, ips } = await getCertIPs('github.com')

console.log(serial, ips)
// 17034156255497985825694118641198758684 [
//   '167.71.50.75',
//   '64.226.90.132',
//   '89.21.66.215',
//   '169.150.212.67',
//   '64.226.64.124',
//   '138.68.186.93',
//   '185.90.61.141',
//   '194.195.244.129',
//   '169.150.210.46',
//   '185.213.23.133'
// ]

References

License

Apache-2.0 © yelo, 2023 - present

About

🕵 Lookup IPs behind domain via SSL Cert

Resources

License

Stars

Watchers

Forks

Releases

No releases published