Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Rugby-Ball/4154d07f0fff5fb7d0561193b5aa765b to your computer and use it in GitHub Desktop.

Select an option

Save Rugby-Ball/4154d07f0fff5fb7d0561193b5aa765b to your computer and use it in GitHub Desktop.
This works with nmap Windows, MacOS and Linux to get the Subject Alternative Names (SAN) from a websites SSL Cert. Requires GREP be installed to work. #Public #nmap #shell #Utility
nmap -p 443 --script ssl-cert mrisimmons.com | grep "Subject Alternative Name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment