Skip to content

malvidin/crt.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crt.sh Python utility

This project aims at helping you to interact with crt.sh website.

Git clone the repo.

git clone https://github.com/PaulSec/crt.sh

Install the dependencies.

pip install -r requirements.txt

Then, you can start interacting with crt.sh this way:

from crtsh import crtshAPI
import json

print(json.dumps(crtshAPI().search('uber.com')))

The result is an array of dictionary items which looks like this:

[
  {
      "issuer_ca_id": 16418,
      "issuer_name": "C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3",
      "name_value": "hatch.uber.com",
      "min_cert_id": 325717795,
      "min_entry_timestamp": "2018-02-08T16:47:39.089",
      "not_before": "2018-02-08T15:47:39"
  },
  ....
]

License

This has been released under MIT License. For any question, feel free to contact me on Twitter @PaulWebSec.

About

(Unofficial) Python API for https://crt.sh

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%