mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
--stop is inclusive ("Last query output entry to retrieve")
This commit is contained in:
parent
dfc02d8c3c
commit
3536320fc9
|
@ -320,8 +320,8 @@ def errorUse(expression, expected=None, resumeValue=True, dump=False):
|
|||
|
||||
try:
|
||||
threadData = getCurrentThreadData()
|
||||
numThreads = min(conf.threads, stopLimit-startLimit)
|
||||
threadData.shared.limits = range(startLimit, stopLimit)
|
||||
threadData.shared.limits = range(startLimit, stopLimit+1)
|
||||
numThreads = min(conf.threads, len(threadData.shared.limits))
|
||||
threadData.shared.outputs = []
|
||||
|
||||
if stopLimit > TURN_OFF_RESUME_INFO_LIMIT:
|
||||
|
|
|
@ -261,8 +261,8 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
|
||||
try:
|
||||
threadData = getCurrentThreadData()
|
||||
numThreads = min(conf.threads, stopLimit-startLimit)
|
||||
threadData.shared.limits = range(startLimit, stopLimit)
|
||||
threadData.shared.limits = range(startLimit, stopLimit+1)
|
||||
numThreads = min(conf.threads, len(threadData.shared.limits))
|
||||
threadData.shared.value = ""
|
||||
|
||||
if stopLimit > TURN_OFF_RESUME_INFO_LIMIT:
|
||||
|
|
Loading…
Reference in New Issue
Block a user