From fb5774a584f814ea9b807db7e9798c9f2b048a1e Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Wed, 2 Dec 2020 09:19:47 +0000 Subject: [PATCH] BIN: analyse-headers: fix error "wrap command not found" --- bin/.bin/webtest/analyse-headers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/.bin/webtest/analyse-headers b/bin/.bin/webtest/analyse-headers index a96c1f4e..fed1cc52 100755 --- a/bin/.bin/webtest/analyse-headers +++ b/bin/.bin/webtest/analyse-headers @@ -82,7 +82,7 @@ test_server(){ test_x-powered-by(){ local value="$(echo "$1" | cut -d ':' -f 2 | trimWhitespace)" echo "X-Powered-By" | drawInBox - wecho -e "The server responds with ${ORANGE}$value${NC} in the X-Powered-By header" | wrap + wecho -e "The server responds with ${ORANGE}$value${NC} in the X-Powered-By header" wecho -e "This is potentially un-necesary information disclosure\n\n" [ -n "$value" ] && return 1 || return 0 }