mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Minor fix (skipping one uneccesary request in single-threaded --first/--last mode)
This commit is contained in:
parent
2f69a94bcf
commit
31daefc7c9
|
@ -529,7 +529,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
else:
|
||||
val = getChar(index, asciiTbl)
|
||||
|
||||
if val is None or (lastChar > 0 and index > lastChar):
|
||||
if val is None:
|
||||
finalValue = partialValue
|
||||
break
|
||||
|
||||
|
@ -548,6 +548,10 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
finalValue = partialValue[:-INFERENCE_BLANK_BREAK]
|
||||
break
|
||||
|
||||
if (lastChar > 0 and index >= lastChar):
|
||||
finalValue = partialValue
|
||||
break
|
||||
|
||||
except KeyboardInterrupt:
|
||||
abortedFlag = True
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue
Block a user