From 49be2a7c6121f28c3d9eaf1edaccb94ccecbfafe Mon Sep 17 00:00:00 2001 From: david Date: Wed, 14 Sep 2011 18:14:52 +0000 Subject: [PATCH] Fix compressor names in ssl-enum-ciphers.nse. patch from Matt Selsky in http://seclists.org/nmap-dev/2011/q2/1235. --- CHANGELOG | 2 ++ scripts/ssl-enum-ciphers.nse | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e124938bd..077ce9622 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ # Nmap Changelog ($Id$); -*-text-*- +o [NSE] Fixed SSL compressor names in ssl-enum-ciphers.nse. [Matt Selsky] + o [NSE] Added cipher strength ratings to ssl-enum-ciphers.nse. [Gabriel Lawrence] diff --git a/scripts/ssl-enum-ciphers.nse b/scripts/ssl-enum-ciphers.nse index 7f96ffd7d..da52d5ab4 100644 --- a/scripts/ssl-enum-ciphers.nse +++ b/scripts/ssl-enum-ciphers.nse @@ -153,11 +153,12 @@ TLS_HANDSHAKETYPE_REGISTRY = { -- -- Compression Algorithms +-- http://www.iana.org/assignments/comp-meth-ids -- COMPRESSORS = { - ["uncompressed"] = 0, - ["ansiX962_compressed_prime"] = 1, - ["ansiX962_compressed_char2"] = 2 + ["NULL"] = 0, + ["DEFLATE"] = 1, + ["LZS"] = 64 } --