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