{"library":"sslyze","title":"SSLyze","type":"library","description":"Fast and powerful SSL/TLS scanning library and CLI tool. Current version 6.3.1, requires Python >=3.10. Release cadence is about 3-6 months per minor version.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install sslyze"],"cli":{"name":"sslyze","version":"usage: sslyze [-h] [--update_trust_stores] [--cert CERTIFICATE_FILE]"}},"imports":["from sslyze import ServerNetworkLocation","from sslyze import Scanner","from sslyze import ServerScanRequest","from sslyze.plugins.scan_commands import ScanCommand"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/nabla-c0d3/sslyze","docs":"https://nabla-c0d3.github.io/sslyze/documentation","changelog":"https://github.com/nabla-c0d3/sslyze/releases","pypi":"https://pypi.org/project/sslyze/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"import asyncio\nfrom sslyze import ServerNetworkLocation, Scanner, ServerScanRequest\nfrom sslyze.plugins.scan_commands import ScanCommand\n\nasync def scan():\n    server_location = ServerNetworkLocation(hostname=\"www.google.com\", port=443)\n    scanner = Scanner()\n    scan_request = ServerScanRequest(\n        server_location=server_location,\n        scan_commands={\n            ScanCommand.TLS_1_2_CIPHER_SUITES,\n            ScanCommand.CERTIFICATE_INFO,\n        },\n    )\n    result = await scanner.scan_async(scan_request)\n    print(result)\n\nasyncio.run(scan())","lang":"python","description":"Basic asynchronous scan of a TLS server using the Python API.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}