Created
June 23, 2023 13:25
-
-
Save nyrahul/b2020ebc00361f744b22e64060bf8fbd to your computer and use it in GitHub Desktop.
Get nmap report for TLS/SSL and convert it to json
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
nmap -Pn -sT -p 3000 localhost --script ssl-cert --script ssl-enum-ciphers --script ssl-cert -oX t.xml | |
yq . t.xml -o json --xml-attribute-prefix '' > t.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment