mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
minor fix
This commit is contained in:
parent
1beb1dd2cc
commit
c17f444aab
|
@ -148,9 +148,9 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
if result:
|
||||
return result
|
||||
|
||||
if not continuousOrder:
|
||||
originalTbl = list(charTbl)
|
||||
else:
|
||||
|
||||
if continuousOrder:
|
||||
# Used for gradual expanding into unicode charspace
|
||||
shiftTable = [5, 4]
|
||||
|
||||
|
@ -215,7 +215,10 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
return None
|
||||
else:
|
||||
retVal = minValue + 1
|
||||
if retVal in originalTbl:
|
||||
return chr(retVal) if retVal < 128 else unichr(retVal)
|
||||
else:
|
||||
return None
|
||||
else:
|
||||
if minValue == maxChar or maxValue == minChar:
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue
Block a user