mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 22:05:26 +01:00 
			
		
		
		
	Fix CRIME test on servers only supporting TLS 1.3
As jsonID is not set by run_crime, make the fileout invocation for servers supporting only TLS 1.3 use the literal "CRIME_TLS" instead. Previously running testssl with CSV or JSON output would produce an item with the wrong ID.
This commit is contained in:
		| @@ -16710,7 +16710,7 @@ run_crime() { | ||||
|           pr_svrty_best "not vulnerable (OK)" | ||||
|           [[ $DEBUG -ge 1 ]] && out ", no compression in TLS 1.3 only servers" | ||||
|           outln | ||||
|           fileout "$jsonID" "OK" "TLS 1.3 only server" "$cve" "$cwe" | ||||
|           fileout "CRIME_TLS" "OK" "TLS 1.3 only server" "$cve" "$cwe" | ||||
|           return 0 | ||||
|      fi | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tomasz Kramkowski
					Tomasz Kramkowski