1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 13:49:03 +00:00

Change SSLv2-support.nse to only print cipher list if verbosity>=2 or debugging>0

This commit is contained in:
kris
2008-05-14 04:08:07 +00:00
parent 1018992e15
commit abe470fba8
2 changed files with 7 additions and 1 deletions

View File

@@ -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