mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor adjustment
This commit is contained in:
parent
35aa785870
commit
0e7f771be6
|
@ -485,7 +485,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
testValue = unescaper.escape("'%s'" % commonValue) if "'" not in commonValue else unescaper.escape("%s" % commonValue, quote=False)
|
||||
|
||||
if timeBasedCompare:
|
||||
query = kb.injection.data[kb.technique].vector.replace("[RANDNUM]", testValue)
|
||||
query = kb.injection.data[kb.technique].vector
|
||||
query = agent.prefixQuery(query.replace("[INFERENCE]", "(%s)=%s" % (expressionUnescaped, testValue)))
|
||||
else:
|
||||
query = agent.prefixQuery(safeStringFormat("AND (%s)=%s", (expressionUnescaped, testValue)))
|
||||
|
@ -512,7 +512,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
testValue = unescaper.escape("'%s'" % commonPattern) if "'" not in commonPattern else unescaper.escape("%s" % commonPattern, quote=False)
|
||||
|
||||
if timeBasedCompare:
|
||||
query = kb.injection.data[kb.technique].vector.replace("[RANDNUM]", testValue)
|
||||
query = kb.injection.data[kb.technique].vector
|
||||
query = agent.prefixQuery(query.replace("[INFERENCE]", "(%s)=%s" % (subquery, testValue)))
|
||||
else:
|
||||
query = agent.prefixQuery(safeStringFormat("AND (%s)=%s", (subquery, testValue)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user