20 lines is 320 bytes, not 160

This commit is contained in:
David Cooper 2016-08-31 17:07:53 -04:00 committed by GitHub
parent a2f968d4ad
commit 9ef0d1f4ea
1 changed files with 1 additions and 1 deletions

View File

@ -6045,7 +6045,7 @@ run_heartbleed(){
outln "\nheartbleed reply: "
hexdump -C "$SOCK_REPLY_FILE" | head -20
bytes_returned="$(wc -c "$SOCK_REPLY_FILE" | awk '{ print $1 }')"
[[ $bytes_returned -gt 160 ]] && outln "[...]"
[[ $bytes_returned -gt 320 ]] && outln "[...]"
outln
fi