1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

[NSE] A negative value should disable the maxpage limit according to NSEDoc.

This commit is contained in:
sophron
2014-05-13 10:14:39 +00:00
parent 97a7470fc2
commit efb73576e1

View File

@@ -769,6 +769,7 @@ Crawler = {
-- pages we have retrieved so far
local count = self:getPageCount()
if ( self.options.maxpagecount and
( self.options.maxpagecount > 0 ) and
( count > self.options.maxpagecount ) ) then
table.insert(response_queue, { false, { err = false, msg = "Reached max page count" } })
condvar "signal"