mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 22:05:26 +01:00 
			
		
		
		
	Merge pull request #2438 from drwetter/wildcard
Implement warning for wildcard match
This commit is contained in:
		| @@ -9491,6 +9491,14 @@ certificate_info() { | ||||
| 
 | ||||
|      fileout "cert_trust${json_postfix}" "$trust_sni_finding" "${trustfinding}${trustfinding_nosni}" | ||||
| 
 | ||||
|      if [[ "$trust_sni" =~ ^(2|6|8|9|10)$ ]] || [[ "$trust_nosni" =~ ^(2|6|8|9|10)$ ]]; then | ||||
|           out "${spaces}" | ||||
|           pr_svrty_low "wildcard certificate" ; outln " could be problematic, see other hosts at" | ||||
|           outln "${spaces}https://search.censys.io/search?resource=hosts&virtual_hosts=INCLUDE&q=$cert_fingerprint_sha2" | ||||
|           fileout "cert_trust${json_postfix}_wildcard" "LOW" "trust is via wildcard" | ||||
|      fi | ||||
| 
 | ||||
| 
 | ||||
|      out "$indent"; pr_bold " Chain of trust"; out "               " | ||||
|      jsonID="cert_chain_of_trust" | ||||
|      # Looks for CA's that have their trust removed by the first part of their Organization Name, add multiple with ^(TrustCor Systems|WoSign) etc. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter