mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-07 04:22:53 +02:00
20 lines is 320 bytes, not 160
This commit is contained in:
@ -6045,7 +6045,7 @@ run_heartbleed(){
|
|||||||
outln "\nheartbleed reply: "
|
outln "\nheartbleed reply: "
|
||||||
hexdump -C "$SOCK_REPLY_FILE" | head -20
|
hexdump -C "$SOCK_REPLY_FILE" | head -20
|
||||||
bytes_returned="$(wc -c "$SOCK_REPLY_FILE" | awk '{ print $1 }')"
|
bytes_returned="$(wc -c "$SOCK_REPLY_FILE" | awk '{ print $1 }')"
|
||||||
[[ $bytes_returned -gt 160 ]] && outln "[...]"
|
[[ $bytes_returned -gt 320 ]] && outln "[...]"
|
||||||
outln
|
outln
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user