Kaynağa Gözat

Update ping.go

RPRX 4 ay önce
ebeveyn
işleme
4b2a8f45cd
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      main/commands/all/tls/ping.go

+ 1 - 1
main/commands/all/tls/ping.go

@@ -129,7 +129,7 @@ func printCertificates(certs []*x509.Certificate) {
 		fmt.Println("Cert's signature algorithm: ", leaf.SignatureAlgorithm.String())
 		fmt.Println("Cert's publicKey algorithm: ", leaf.PublicKeyAlgorithm.String())
 		fmt.Println("Cert's allowed domains: ", leaf.DNSNames)
-		fmt.Println("Cert's leaf hash: ", hex.EncodeToString(GenerateCertHash(leaf)))
+		fmt.Println("Cert's leaf SHA256: ", hex.EncodeToString(GenerateCertHash(leaf)))
 	}
 }