mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 08:49:45 +01:00
20 lines is 320 bytes, not 160
This commit is contained in:
parent
a2f968d4ad
commit
9ef0d1f4ea
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user