mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Change SSLv2-support.nse to only print cipher list if verbosity>=2 or debugging>0
This commit is contained in:
parent
1018992e15
commit
abe470fba8
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue