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