Created
July 4, 2018 15:44
-
-
Save tuck1s/3bbec375132b9ab5c60105de74e44d6c to your computer and use it in GitHub Desktop.
Check client ssl characteristics - Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from pprint import pprint | |
def hows_my_ssl(): | |
target = "https://www.howsmyssl.com/a/check" | |
res = requests.get(target) | |
print(res.status_code) | |
pprint(res.json()) | |
hows_my_ssl() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment