修复 CVE-2016-2183

This commit is contained in:
bjdgyc 2022-04-07 16:12:59 +08:00
parent 7a92aa8dff
commit 01431b2230
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ func startTls() {
// }
// 修复 CVE-2016-2183
// https://segmentfault.com/a/1190000038486901
// nmap -sV --script ssl-enum-ciphers -p 443 www.example.com
cipherSuites := tls.CipherSuites()
selectedCipherSuites := make([]uint16, 0, len(cipherSuites))
for _, s := range cipherSuites {