瀏覽代碼

Update ping.go

RPRX 1 月之前
父節點
當前提交
4b2a8f45cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)))
 	}
 }