Created
December 17, 2020 20:56
-
-
Save TechByTom/2ee856c45b92423c418be7ef01128724 to your computer and use it in GitHub Desktop.
Bash one liner to get all certificates from crt.sh
This file contains hidden or 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
| curl -s 'https://crt.sh/?q=%.'$1'&output=json' | jq '.[] | {name_value}' | grep "name_value" | sed 's/\"//g' | cut -d":" -f2- | tr -d '[:blank:]' | sed 's/\\n/\n/g' | tr '[:upper:]' '[:lower:]' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment