mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
one more thing ;)
This commit is contained in:
parent
933d701667
commit
a80fe28631
|
@ -241,8 +241,15 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
else:
|
||||
retVal = minValue + 1
|
||||
if retVal in originalTbl or (retVal == ord('\n') and CHAR_INFERENCE_MARK in payload):
|
||||
if timeBasedCompare and not validateChar(idx, retVal):
|
||||
logger.error("invalid character detected. retrying...")
|
||||
#if timeBasedCompare and not validateChar(idx, retVal):
|
||||
if True:
|
||||
errMsg = "invalid character detected. retrying..."
|
||||
logger.error(errMsg)
|
||||
|
||||
conf.timeSec += 1
|
||||
warnMsg = "adjusting time delay to %d seconds" % conf.timeSec
|
||||
logger.warn(warnMsg)
|
||||
|
||||
return getChar(idx, originalTbl, continuousOrder, expand)
|
||||
else:
|
||||
return chr(retVal) if retVal < 128 else decodeIntToUnicode(retVal)
|
||||
|
|
Loading…
Reference in New Issue
Block a user