mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-08-02 19:30:10 +03:00
Merge 54594e5e1b
into c7ec1534a6
This commit is contained in:
commit
9540372e9a
|
@ -74,7 +74,7 @@ def _oneShotErrorUse(expression, field=None, chunkTest=False):
|
||||||
testChar = str(current % 10)
|
testChar = str(current % 10)
|
||||||
testQuery = "SELECT %s('%s',%d)" % ("REPEAT" if Backend.isDbms(DBMS.MYSQL) else "REPLICATE", testChar, current)
|
testQuery = "SELECT %s('%s',%d)" % ("REPEAT" if Backend.isDbms(DBMS.MYSQL) else "REPLICATE", testChar, current)
|
||||||
result = unArrayizeValue(_oneShotErrorUse(testQuery, chunkTest=True))
|
result = unArrayizeValue(_oneShotErrorUse(testQuery, chunkTest=True))
|
||||||
if result and testChar in result:
|
if result and (len(result.replace(testChar,''))==0):
|
||||||
if result == testChar * current:
|
if result == testChar * current:
|
||||||
kb.errorChunkLength = current
|
kb.errorChunkLength = current
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user