mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
Minor fix for --threads>1 --binary-fields
This commit is contained in:
parent
3483fd4347
commit
a0b44da5d8
|
@ -85,7 +85,7 @@ def _goInference(payload, expression, charsetType=None, firstChar=None, lastChar
|
||||||
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.PGSQL):
|
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.PGSQL):
|
||||||
expression += " AS %s" % randomStr(lowercase=True)
|
expression += " AS %s" % randomStr(lowercase=True)
|
||||||
|
|
||||||
if field and conf.hexConvert:
|
if field and conf.hexConvert or conf.binaryFields and field in conf.binaryFields.split(','):
|
||||||
nulledCastedField = agent.nullAndCastField(field)
|
nulledCastedField = agent.nullAndCastField(field)
|
||||||
injExpression = expression.replace(field, nulledCastedField, 1)
|
injExpression = expression.replace(field, nulledCastedField, 1)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user