Code Monkey home page Code Monkey logo

crtsearch's Introduction

crtsearch

证书信息查询工具

该工具可以查询指定域名或一组域名的 SSL 证书信息。它使用 crt.sh 提供的 API,通过网络请求获取 SSL 证书的详细信息,并将结果保存为 CSV 文件。

功能特性

  1. 单个域名查询: 通过提供 -t--domain 参数,用户可以查询单个域名的 SSL 证书信息。

  2. 批量查询: 使用 -T--txtfile 参数,用户可以从包含多个域名的文本文件中一次性查询多个域名的 SSL 证书信息。

  3. 结果保存: 查询结果以 CSV 格式保存,包括证书的公共名称、匹配的标识、颁发者名称、有效起始日期和过期日期。

  4. 单个域名结果: 生成的 CSV 文件以查询的域名为文件名,方便用户查阅单个域名的证书信息。

  5. 批量结果: 如果提供了域名列表文件,脚本会生成一个名为 all_results.csv 的 CSV 文件,其中包含所有查询结果的摘要。

如何使用

image1

安装

python -r requirements.txt

单个域名查询

python crtsearch.py -t example.com

批量域名查询

python crtsearch.py -T domain.txt

image1 image1

crtsearch's People

Contributors

himay1 avatar

Stargazers

 avatar Lay0us avatar  avatar

Watchers

 avatar

Forkers

lay0us

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.