Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a7a648

Browse files
committed
Minor bug fix for --start, now all techniques return the same result (before blind techniques returned from one entry behind)
1 parent 6cbb927 commit 0a7a648

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,8 +1323,10 @@ def getRange(count, dump=False, plusOne=False):
13231323

13241324
if plusOne:
13251325
indexRange = range(limitStart, limitStop + 1)
1326-
else:
1326+
elif not dump:
13271327
indexRange = range(limitStart - 1, limitStop)
1328+
else:
1329+
indexRange = range(limitStart, limitStop)
13281330

13291331
return indexRange
13301332

@@ -2464,7 +2466,6 @@ def setOptimize():
24642466
debugMsg = "turning off --null-connection switch used indirectly by switch -o"
24652467
logger.debug(debugMsg)
24662468

2467-
24682469
def initTechnique(technique=None):
24692470
"""
24702471
Prepares proper page template and match ratio for technique specified

0 commit comments

Comments
 (0)