mirror of
https://github.com/nmap/nmap.git
synced 2026-01-28 17:19:05 +00:00
Change SSLv2-support.nse to only print cipher list if verbosity>=2 or debugging>0
This commit is contained in:
@@ -35,6 +35,10 @@ o Fix a couple bugs in the way the Nmap built system checked for an
|
||||
configure option for specifying your own liblua. [Daniel
|
||||
Roethlisberger]
|
||||
|
||||
o Changed SSLv2-support.nse so that it only enumerates the list of
|
||||
available ciphers with a verbosity level of at least two or with
|
||||
debugging enabled. [Kris]
|
||||
|
||||
o Removed mswindowsShell.nse as there is a version detection NULL probe
|
||||
match which accomplishes the same thing. [Brandon, Fyodor, Kris]
|
||||
|
||||
|
||||
@@ -204,7 +204,9 @@ action = function(host, port)
|
||||
return_string = "server still supports SSLv2\n";
|
||||
end
|
||||
|
||||
available_cyphers = cyphers(cypher_list, cyphers_len);
|
||||
if (nmap.verbosity() > 1 or nmap.debugging() > 0) then
|
||||
available_cyphers = cyphers(cypher_list, cyphers_len);
|
||||
end
|
||||
|
||||
if ( string.len(return_string) > 0
|
||||
or string.len(available_cyphers) > 0) then
|
||||
|
||||
Reference in New Issue
Block a user