mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-09-18 09:27:13 +08:00
修复 CVE-2016-2183
This commit is contained in:
@@ -34,6 +34,8 @@ func startTls() {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
// 修复 CVE-2016-2183
|
// 修复 CVE-2016-2183
|
||||||
|
// https://segmentfault.com/a/1190000038486901
|
||||||
|
// nmap -sV --script ssl-enum-ciphers -p 443 www.example.com
|
||||||
cipherSuites := tls.CipherSuites()
|
cipherSuites := tls.CipherSuites()
|
||||||
selectedCipherSuites := make([]uint16, 0, len(cipherSuites))
|
selectedCipherSuites := make([]uint16, 0, len(cipherSuites))
|
||||||
for _, s := range cipherSuites {
|
for _, s := range cipherSuites {
|
||||||
|
Reference in New Issue
Block a user