mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +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):
|
||||
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)
|
||||
injExpression = expression.replace(field, nulledCastedField, 1)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user