certHistory is a command-line tool that retrieves certificate history for a given domain name by querying the crt.sh website.
To use certHistory, follow these steps:
-
Clone or download the repository to your local machine.
-
Navigate to the directory containing the
certHistory.pyfile. -
Run the following command
python certHistory.py [Domain] [Count] or python certHistory.py [Domain]
- Replace
Domainwith the target domain name that you want to retrieve certificate history for. - Replace
Countwith the number of certificates you want to retrieve (Optional). By default, the tool retrieves the 5 most recent certificates. If the count is too high, the site may temporarily block you.
- Replace
-
Wait for the tool to complete. The tool will retrieve the certificate history for the specified domain name by querying the crt.sh website and display the results.
certHistory requires Python 3 and the following packages:
requests
To install the required packages, run the following command:
pip install requestsTested on Linux
If you find any issues with the certHistory or would like to contribute to the project, please feel free to submit a pull request or open an issue on the Github repository.
certHistory is licensed under the Creative Commons Attribution-NonCommercial (CC BY-NC) license.
