Use $jsonID rather than literal string

In run_drown(), $jsonID is set to "DROWN" and most calls to fileout() are of the form

     fileout "$jsonID" ...

However, one call is written as

    fileout "DROWN" ...

This PR changes this one call to be consistent with the others. This does not change the functionality of the program.
This commit is contained in:
David Cooper 2019-10-28 12:43:29 -04:00 committed by GitHub
parent b64f5afaea
commit 8a0f94f561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15180,7 +15180,7 @@ run_drown() {
fi
;;
*) prln_svrty_best "not vulnerable on this host and port (OK)"
fileout "DROWN" "OK" "not vulnerable to DROWN on this host and port" "$cve" "$cwe"
fileout "$jsonID" "OK" "not vulnerable to DROWN on this host and port" "$cve" "$cwe"
if [[ -n "$cert_fingerprint_sha2" ]]; then
outln "$spaces make sure you don't use this certificate elsewhere with SSLv2 enabled services"
out "$spaces "