Skip to main content

A script to capture SSL Labs server test report screenshots

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

SSL Labs Screenshot

This is a Python script that captures a trimmed screenshot of the SSL Labs report for a given domain, using the Selenium WebDriver and the Pillow image library.

Requirements

  • Python 3.x
  • Chrome browser (version 89 or later)
  • ChromeDriver

Installation

  1. Clone this repository:
    git clone https://github.com/marksowell/SSL-Labs-Screenshot.git
  2. Install the required libraries by running the following command:
    pip install -r requirements.txt
  3. Download the latest version of ChromeDriver from the following link: https://sites.google.com/chromium.org/driver/downloads
  4. Extract the contents of the downloaded ZIP file to a directory on your system.
  5. Either move the ChromeDriver executable to a directory already in your system's PATH environment variable or add the path to the directory where you extracted the ChromeDriver executable to the PATH variable.

Usage

Run the script with the following command:
python ssl-labs-screenshot.py domain.com

Replace domain.com with the domain you want to test. The script will open a headless Chrome browser and load the SSL Labs report for the domain. It will capture a temporary screenshot of the report and save it as a PNG file in the same directory as the script, with the name domain_report_tmp.png. The script will delete the temporary screenshot after the trimmed image is created with the name domain_report.png

Limitations

The script only captures the first server's report for domains with multiple servers.

License

The scripts and documentation in this project are released under the MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssl-labs-screenshot-1.0.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssl_labs_screenshot-1.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file ssl-labs-screenshot-1.0.2.tar.gz.

File metadata

  • Download URL: ssl-labs-screenshot-1.0.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for ssl-labs-screenshot-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4cfdea0819c0cf1e75054c14a0cc5ac7597de5dce7d26762eb1586328b2a0760
MD5 ccb876d5e43b1077cb490ddc2938da57
BLAKE2b-256 11eb0dc164198b5f153a7c1ae9d46392b28a5fbfff6dca89f0e5696b04fad356

See more details on using hashes here.

File details

Details for the file ssl_labs_screenshot-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ssl_labs_screenshot-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 386138194ab68bee70161f926fe451190cda03b1e901e477c2a80f1523a4138a
MD5 9df43a444f2adc4586524f97d461b922
BLAKE2b-256 afc9f66b99082cf04212dac45aabbd05a0fa6164a7d468f07991add264d7eb3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page