mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-02-02 05:41:15 +01:00
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:
parent
34a512a363
commit
5afee01797
@ -8182,7 +8182,7 @@ sslv2_sockets() {
|
|||||||
debugme tmln_out "reading server hello... "
|
debugme tmln_out "reading server hello... "
|
||||||
if [[ "$DEBUG" -ge 4 ]]; then
|
if [[ "$DEBUG" -ge 4 ]]; then
|
||||||
hexdump -C "$SOCK_REPLY_FILE" | head -6
|
hexdump -C "$SOCK_REPLY_FILE" | head -6
|
||||||
outln
|
tmln_out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
parse_sslv2_serverhello "$SOCK_REPLY_FILE" "$parse_complete"
|
parse_sslv2_serverhello "$SOCK_REPLY_FILE" "$parse_complete"
|
||||||
@ -8729,7 +8729,7 @@ run_heartbleed(){
|
|||||||
else
|
else
|
||||||
out "likely "
|
out "likely "
|
||||||
pr_svrty_critical "VULNERABLE (NOT ok)"
|
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"
|
fileout "heartbleed" "CRITICAL" "Heartbleed: VULNERABLE $cve" "$cwe" "$hint"
|
||||||
ret=1
|
ret=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user