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
#!/usr/bin/env python3 | |
"""Show server's certificate as json. | |
Usage: | |
$ %(prog)s HOST [PORT] | |
""" | |
import json | |
import socket | |
import ssl | |
import sys |
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
#!/usr/bin/env python | |
# | |
# Corey Goldberg, 2013 | |
# | |
# Python 2.7 | |
"""validate and analyze dimensions of image files. Supports: PNG, JPG, GIF.""" | |