mirror of
https://github.com/nmap/nmap.git
synced 2026-02-04 20:46:33 +00:00
Fix a bug in qscan.nse which kept a confidence level of 0.9995 from working;
Marcin Hoffmann reported the problem.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [NSE] Fixed a bug in qscan.nse which gave an error if a confidence
|
||||
level of 0.9995 was used. Thanks to Marcin Hoffmann for noticing
|
||||
the problem. [Kris]
|
||||
|
||||
o [NSE] Added ntp-monlist.nse which discovers NTP server, peer and
|
||||
client hosts associated with a scanned target by sending NTPv2
|
||||
Private Mode 'monitor' and 'peers' commands to the target. [jah]
|
||||
|
||||
@@ -283,7 +283,7 @@ local getopts = function()
|
||||
|
||||
if conf ~= 0.75 and conf ~= 0.9 and
|
||||
conf ~= 0.95 and conf ~= 0.975 and
|
||||
conf ~= 0.99 and conf ~= 0.995 and conf ~= 0.995 then
|
||||
conf ~= 0.99 and conf ~= 0.995 and conf ~= 0.9995 then
|
||||
bool = false
|
||||
err = "Invalid confidence level"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user