BIN: analyse-headers: fix error "wrap command not found"
This commit is contained in:
		
							parent
							
								
									9ef36af8f7
								
							
						
					
					
						commit
						fb5774a584
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -82,7 +82,7 @@ test_server(){
 | 
				
			||||||
test_x-powered-by(){
 | 
					test_x-powered-by(){
 | 
				
			||||||
	local value="$(echo "$1" | cut -d ':' -f 2 | trimWhitespace)"
 | 
						local value="$(echo "$1" | cut -d ':' -f 2 | trimWhitespace)"
 | 
				
			||||||
	echo "X-Powered-By" | drawInBox
 | 
						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"
 | 
						wecho -e "This is potentially un-necesary information disclosure\n\n"
 | 
				
			||||||
	[ -n "$value" ] && return 1 || return 0
 | 
						[ -n "$value" ] && return 1 || return 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue