mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 22:05:26 +01:00 
			
		
		
		
	Output changes
* add TLS_EMPTY_RENEGOTIATION_INFO_SCSV in screen output * remove trailing ":" to be sure no one copies it, see also #1440
This commit is contained in:
		| @@ -17,7 +17,11 @@ for ((i=0; i<len ; i+=4)); do | |||||||
| 	grepstr="0x${hs:$i:2},0x${hs:$((i+2)):2}" | 	grepstr="0x${hs:$i:2},0x${hs:$((i+2)):2}" | ||||||
|         echo -n " --> $grepstr --> " |         echo -n " --> $grepstr --> " | ||||||
|         cip=$(grep -i -E "^ *${grepstr}" $mapfile | awk '{ print $3 }') |         cip=$(grep -i -E "^ *${grepstr}" $mapfile | awk '{ print $3 }') | ||||||
| 	echo $cip | 	if [[ $grepstr == 0x00,0xff ]]; then | ||||||
|  | 		echo TLS_EMPTY_RENEGOTIATION_INFO_SCSV | ||||||
|  | 	else | ||||||
|  | 		echo $cip | ||||||
|  | 	fi | ||||||
| 	if "$first"; then | 	if "$first"; then | ||||||
| 		ciphers="$cip" | 		ciphers="$cip" | ||||||
| 		first=false | 		first=false | ||||||
| @@ -27,4 +31,4 @@ for ((i=0; i<len ; i+=4)); do | |||||||
| done | done | ||||||
|  |  | ||||||
| echo | echo | ||||||
| echo $ciphers | echo ${ciphers%:} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter