mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +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:
|
else:
|
||||||
retVal = minValue + 1
|
retVal = minValue + 1
|
||||||
if retVal in originalTbl or (retVal == ord('\n') and CHAR_INFERENCE_MARK in payload):
|
if retVal in originalTbl or (retVal == ord('\n') and CHAR_INFERENCE_MARK in payload):
|
||||||
if timeBasedCompare and not validateChar(idx, retVal):
|
#if timeBasedCompare and not validateChar(idx, retVal):
|
||||||
logger.error("invalid character detected. retrying...")
|
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)
|
return getChar(idx, originalTbl, continuousOrder, expand)
|
||||||
else:
|
else:
|
||||||
return chr(retVal) if retVal < 128 else decodeIntToUnicode(retVal)
|
return chr(retVal) if retVal < 128 else decodeIntToUnicode(retVal)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user