mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
minor bug fix
This commit is contained in:
parent
b05c6cbd13
commit
c95119559e
|
@ -182,7 +182,7 @@ def _errorFields(expression, expressionFields, expressionFieldsList, num=None, e
|
|||
else:
|
||||
expressionReplaced = expression.replace(expressionFields, field, 1)
|
||||
|
||||
if isTechniqueAvailable(PAYLOAD.TECHNIQUE.QUERY) and Backend.isDbms(DBMS.FIREBIRD) and expressionReplaced.startswith("SELECT "):
|
||||
if kb.technique == PAYLOAD.TECHNIQUE.QUERY and Backend.isDbms(DBMS.FIREBIRD) and expressionReplaced.startswith("SELECT "):
|
||||
expressionReplaced = "SELECT %s" % agent.concatQuery(expressionReplaced)
|
||||
|
||||
output = NULL if emptyFields and field in emptyFields else _oneShotErrorUse(expressionReplaced, field)
|
||||
|
|
Loading…
Reference in New Issue
Block a user