No debugging text in HTML output

This PR fixes two places in which output is being included in the HTML output, but shouldn't be.
This commit is contained in:
David Cooper 2017-04-13 14:28:39 -04:00 committed by GitHub
parent 34a512a363
commit 5afee01797

View File

@ -8182,7 +8182,7 @@ sslv2_sockets() {
debugme tmln_out "reading server hello... "
if [[ "$DEBUG" -ge 4 ]]; then
hexdump -C "$SOCK_REPLY_FILE" | head -6
outln
tmln_out
fi
parse_sslv2_serverhello "$SOCK_REPLY_FILE" "$parse_complete"
@ -8729,7 +8729,7 @@ run_heartbleed(){
else
out "likely "
pr_svrty_critical "VULNERABLE (NOT ok)"
[[ $DEBUG -lt 3 ]] && out ", use debug >=3 to confirm"
[[ $DEBUG -lt 3 ]] && tm_out ", use debug >=3 to confirm"
fileout "heartbleed" "CRITICAL" "Heartbleed: VULNERABLE $cve" "$cwe" "$hint"
ret=1
fi