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 | |
# Mark Baggett @MarkBaggett graciously wrote this script. | |
# Minor changes by Joshua Wright @joswr1ght. | |
# Use it to retrieve host name information from the JSON output of tls-scan | |
# (https://github.com/prbinu/tls-scan) in the subjectCN and subjectAltName | |
# fields. | |
import json | |
import re | |
import sys |