All Projects → PaulSec → crt.sh

PaulSec / crt.sh

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

Programming Languages

python
139335 projects - #7 most used programming language

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].