Skip to content

About

Query the certificate transparency log

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

2 watching

Forks

Repository files navigation

Cert Host Scraper

CI PyPI version PyPI downloads codecov Ruff Static Badge License

Query the certificate transparency log from crt.sh by a given a keyword and returns the status code of the matched results. Optionally, filtering the results by status code.

Demo of cert-host-scraper

Installation

With [pipx]:

pipx install cert-host-scraper

With pip:

pip install cert-host-scraper

Usage

Once installed you can look up information about a domain using the search command:

cert-host-scraper search your-domain.com

There are additional options that can be provided to change this behaviour and result filtering.

Pass --help to this command for a full list of options.

Development

Requires uv and Python 3.10+.

uv sync
uv run python -m cert_host_scraper.cli

Testing

Run the test suite:

mise run test

Run with a new fixture, first remove the old; than run with record mode:

rm fixtures/vcr/fetch_site_information_valid.yaml
mise run test:record

License

MIT

About

Query the certificate transparency log

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages