mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 11:45:46 +03:00
reverting that last commit because there is a mess with default dumping (startLimit is set to 0 which is not so friendly with --start and --stop logic)
This commit is contained in:
parent
3536320fc9
commit
9e232256f4
|
@ -320,7 +320,7 @@ def errorUse(expression, expected=None, resumeValue=True, dump=False):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
threadData = getCurrentThreadData()
|
threadData = getCurrentThreadData()
|
||||||
threadData.shared.limits = range(startLimit, stopLimit+1)
|
threadData.shared.limits = range(startLimit, stopLimit)
|
||||||
numThreads = min(conf.threads, len(threadData.shared.limits))
|
numThreads = min(conf.threads, len(threadData.shared.limits))
|
||||||
threadData.shared.outputs = []
|
threadData.shared.outputs = []
|
||||||
|
|
||||||
|
|
|
@ -261,7 +261,7 @@ def unionUse(expression, unpack=True, dump=False):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
threadData = getCurrentThreadData()
|
threadData = getCurrentThreadData()
|
||||||
threadData.shared.limits = range(startLimit, stopLimit+1)
|
threadData.shared.limits = range(startLimit, stopLimit)
|
||||||
numThreads = min(conf.threads, len(threadData.shared.limits))
|
numThreads = min(conf.threads, len(threadData.shared.limits))
|
||||||
threadData.shared.value = ""
|
threadData.shared.value = ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user