mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03: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:
parent
6cbb927012
commit
0a7a648694
|
@ -1323,8 +1323,10 @@ def getRange(count, dump=False, plusOne=False):
|
|||
|
||||
if plusOne:
|
||||
indexRange = range(limitStart, limitStop + 1)
|
||||
else:
|
||||
elif not dump:
|
||||
indexRange = range(limitStart - 1, limitStop)
|
||||
else:
|
||||
indexRange = range(limitStart, limitStop)
|
||||
|
||||
return indexRange
|
||||
|
||||
|
@ -2464,7 +2466,6 @@ def setOptimize():
|
|||
debugMsg = "turning off --null-connection switch used indirectly by switch -o"
|
||||
logger.debug(debugMsg)
|
||||
|
||||
|
||||
def initTechnique(technique=None):
|
||||
"""
|
||||
Prepares proper page template and match ratio for technique specified
|
||||
|
|
Loading…
Reference in New Issue
Block a user