diff --git a/CHANGELOG b/CHANGELOG index bb09aedc8..b5f8ca42c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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] diff --git a/scripts/qscan.nse b/scripts/qscan.nse index 7bbb861a8..6cdc2db1c 100644 --- a/scripts/qscan.nse +++ b/scripts/qscan.nse @@ -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