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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user