mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
Penalizes 3DES for SWEET32 attack (CVE-2016-2183)
This commit is contained in:
@@ -549,7 +549,7 @@ local function score_cipher (kex_strength, cipher_info)
|
|||||||
|
|
||||||
if cipher_info.size == 0 then
|
if cipher_info.size == 0 then
|
||||||
return 0
|
return 0
|
||||||
elseif cipher_info.size < 112 then
|
elseif cipher_info.size < 128 then
|
||||||
cipher_score = 0.2
|
cipher_score = 0.2
|
||||||
elseif cipher_info.size < 256 then
|
elseif cipher_info.size < 256 then
|
||||||
cipher_score = 0.8
|
cipher_score = 0.8
|
||||||
|
|||||||
Reference in New Issue
Block a user