mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Minor bug fix for --start, now all techniques return the same result (before blind techniques returned from one entry behind)
This commit is contained in:
@@ -1323,8 +1323,10 @@ def getRange(count, dump=False, plusOne=False):
|
|||||||
|
|
||||||
if plusOne:
|
if plusOne:
|
||||||
indexRange = range(limitStart, limitStop + 1)
|
indexRange = range(limitStart, limitStop + 1)
|
||||||
else:
|
elif not dump:
|
||||||
indexRange = range(limitStart - 1, limitStop)
|
indexRange = range(limitStart - 1, limitStop)
|
||||||
|
else:
|
||||||
|
indexRange = range(limitStart, limitStop)
|
||||||
|
|
||||||
return indexRange
|
return indexRange
|
||||||
|
|
||||||
@@ -2464,7 +2466,6 @@ def setOptimize():
|
|||||||
debugMsg = "turning off --null-connection switch used indirectly by switch -o"
|
debugMsg = "turning off --null-connection switch used indirectly by switch -o"
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
|
|
||||||
def initTechnique(technique=None):
|
def initTechnique(technique=None):
|
||||||
"""
|
"""
|
||||||
Prepares proper page template and match ratio for technique specified
|
Prepares proper page template and match ratio for technique specified
|
||||||
|
|||||||
Reference in New Issue
Block a user