mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
restored fix for #210 to keep --hex work with --technique B
This commit is contained in:
@@ -76,7 +76,12 @@ def _goInference(payload, expression, charsetType=None, firstChar=None, lastChar
|
||||
|
||||
if not (timeBasedCompare and kb.dnsTest):
|
||||
if (conf.eta or conf.threads > 1) and Backend.getIdentifiedDbms() and not re.search("(COUNT|LTRIM)\(", expression, re.I) and not timeBasedCompare:
|
||||
length = queryOutputLength(expression, payload)
|
||||
if field:
|
||||
nulledCastedField = agent.nullAndCastField(field)
|
||||
injExpression = expression.replace(field, nulledCastedField, 1)
|
||||
else:
|
||||
injExpression = expression
|
||||
length = queryOutputLength(injExpression, payload)
|
||||
else:
|
||||
length = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user