mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-12 19:53:44 +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:
|
try:
|
||||||
threadData = getCurrentThreadData()
|
threadData = getCurrentThreadData()
|
||||||
numThreads = min(conf.threads, stopLimit-startLimit)
|
threadData.shared.limits = range(startLimit, stopLimit+1)
|
||||||
threadData.shared.limits = range(startLimit, stopLimit)
|
numThreads = min(conf.threads, len(threadData.shared.limits))
|
||||||
threadData.shared.outputs = []
|
threadData.shared.outputs = []
|
||||||
|
|
||||||
if stopLimit > TURN_OFF_RESUME_INFO_LIMIT:
|
if stopLimit > TURN_OFF_RESUME_INFO_LIMIT:
|
||||||
|
|
|
@ -261,8 +261,8 @@ def unionUse(expression, unpack=True, dump=False):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
threadData = getCurrentThreadData()
|
threadData = getCurrentThreadData()
|
||||||
numThreads = min(conf.threads, stopLimit-startLimit)
|
threadData.shared.limits = range(startLimit, stopLimit+1)
|
||||||
threadData.shared.limits = range(startLimit, stopLimit)
|
numThreads = min(conf.threads, len(threadData.shared.limits))
|
||||||
threadData.shared.value = ""
|
threadData.shared.value = ""
|
||||||
|
|
||||||
if stopLimit > TURN_OFF_RESUME_INFO_LIMIT:
|
if stopLimit > TURN_OFF_RESUME_INFO_LIMIT:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user