mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-20 13:30:36 +03:00
minor fix
This commit is contained in:
parent
56a3431be6
commit
9fa3619262
|
@ -88,6 +88,8 @@ def __oneShotUnionUse(expression, unpack=True, limited=False):
|
||||||
# Special case when DBMS is Microsoft SQL Server and error message is used as a result of inband injection
|
# Special case when DBMS is Microsoft SQL Server and error message is used as a result of inband injection
|
||||||
if Backend.isDbms(DBMS.MSSQL) and wasLastRequestDBMSError():
|
if Backend.isDbms(DBMS.MSSQL) and wasLastRequestDBMSError():
|
||||||
retVal = htmlunescape(retVal).replace("<br>", "\n")
|
retVal = htmlunescape(retVal).replace("<br>", "\n")
|
||||||
|
|
||||||
|
hashDBWrite("%s%s" % (conf.hexConvert, expression), retVal)
|
||||||
else:
|
else:
|
||||||
trimmed = extractRegexResult(trimcheck, removeReflectiveValues(page, payload), re.DOTALL | re.IGNORECASE) \
|
trimmed = extractRegexResult(trimcheck, removeReflectiveValues(page, payload), re.DOTALL | re.IGNORECASE) \
|
||||||
or extractRegexResult(trimcheck, removeReflectiveValues(listToStrValue(headers.headers \
|
or extractRegexResult(trimcheck, removeReflectiveValues(listToStrValue(headers.headers \
|
||||||
|
@ -98,8 +100,6 @@ def __oneShotUnionUse(expression, unpack=True, limited=False):
|
||||||
warnMsg += trimmed
|
warnMsg += trimmed
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
hashDBWrite("%s%s" % (conf.hexConvert, expression), retVal)
|
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
def configUnion(char=None, columns=None):
|
def configUnion(char=None, columns=None):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user