BIN: analyse-headers: fix error "wrap command not found"

Jonathan Hodgson 3 years ago
parent 9ef36af8f7
commit fb5774a584
  1. 2
      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
}

Loading…
Cancel
Save