Git Product home page Git Product logo

tls-checker's Introduction

TLS-Checker

TLS-Checker

This Python script is designed to gather information about a list of domains.

About | Output | Screenshot | Download & Install | How to use

About

The script collects various details about each domain, or rather domain names in the first column of input.csv including:

  • IPv4
  • IPv6
  • Autonomous System Number (ASN)
  • ASN organization
  • ISO code of the country
  • Country name
  • Cipher
  • SSL/TLS version
  • Issuer organization
  • Ping response time from the domain's server

Output

The results are saved in a SQLite database named output.db and a CSV file named results.csv. An example is provided below:

domain_name ipv4 ipv6 asn asn_organ iso_code country cipher tls_version issuer_organ ping
nvidia.com 34.194.97.138 NULL 14618 AMAZON-AES US United States ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Amazon 183
intel.com 13.91.95.74 NULL 8075 MICROSOFT-CORP-MSN-AS-BLOCK US United States TLS_AES_256_GCM_SHA384 TLSv1.3 Greater Manchester NULL
dreamhost.com 3.163.24.68 2600:9000:260f:e400:1d:5c4:5c40:93a1 16509 AMAZON-02 US United States TLS_AES_128_GCM_SHA256 TLSv1.3 Amazon 266

Screenshot

menu-1

Download & Install

How to use

  • Run main.py as the starting point; then you will be asked a series of questions.
  • As the first question, you must declare how many of the available domain names in the input.csv file you want to choose.

Important

The higher the value you choose for this item, the more resources your computer will consume.

  • Active tasks (Semaphore) defines a boundary for active tasks at the moment.
  • Max workers should be double of the number of active tasks, for example if the number of tasks is 100, the number of workers should be 200, but the default value (auto) is calculated using this approach (Python document): "Changed in version 3.8: Default value of max_workers is changed to min(32, os.cpu_count() + 4). This default value reserves at least 5 workers for I/O-bound tasks. It utilizes at most 32 CPU cores for CPU-bound tasks which release the GIL. And it avoids implicitly using very large resources on many-core machines."

Important

The more values you choose for items, the more resources your system will consume and may potentially freeze your computer.

  • Ping timeout | TLS info timeout (DNS Connection) | Task timeout

Important

The longer you set the time, the program may require more time to execute, but the active task's time should always be greater than the ping and TLS times. Default formula: task timeout = ping timeout + TLS info + 5.

  • You can update the database every few days to get the latest and most up-to-date changes.
  • You can find the result.csv in the csv directory.

tls-checker's People

Contributors

imanmontajabi avatar imat1n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.