darthferretus / ssllabs

Python module for the Qualys SSL Labs Server Test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ssllabs.py

Python module for the Qualys SSL Labs Server Test

Dependencies:

Requires the third-party Python Requests library - http://docs.python-requests.org/en/latest/

Developed with support of Python 2/3.

Use:

Download module and navigate inside ssllabs folder.

Then:

import ssllabsscanner

For results from cache:

data = ssllabsscanner.resultsFromCache("www.qualys.com")

data now contains a JSON object that can be parsed for your needs.

Parse the object to determine your grade:

print(data['endpoints'][0]['grade'])

For retrieving the data from a new scan:

data = ssllabsscanner.newScan("www.qualys.com")

data now contains a JSON object that can be parsed for your needs.

About

Python module for the Qualys SSL Labs Server Test

License:MIT License


Languages

Language:Python 100.0%