From bc0c1dc553ad91b4c059b1e64b447de02b002e1d Mon Sep 17 00:00:00 2001 From: Dirk Date: Thu, 6 Jul 2017 13:02:27 +0200 Subject: [PATCH] FIX #779 --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index fc74e03..a8ffb60 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2079,7 +2079,7 @@ run_cookie_flags() { # ARG1: Path pr_bold " Cookie(s) " grep -ai '^Set-Cookie' $HEADERFILE >$TMPFILE if [[ $? -eq 0 ]]; then - nr_cookies=$(count_lines "$TMPFILE") + nr_cookies=$(count_lines "$(cat $TMPFILE)") out "$nr_cookies issued: " fileout "cookie_count" "INFO" "$nr_cookies cookie(s) issued at \"$1\"$msg302_" if [[ $nr_cookies -gt 1 ]]; then