diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 853272ee3..3fa3ffe4f 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -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 if Backend.isDbms(DBMS.MSSQL) and wasLastRequestDBMSError(): retVal = htmlunescape(retVal).replace("
", "\n") + + hashDBWrite("%s%s" % (conf.hexConvert, expression), retVal) else: trimmed = extractRegexResult(trimcheck, removeReflectiveValues(page, payload), re.DOTALL | re.IGNORECASE) \ or extractRegexResult(trimcheck, removeReflectiveValues(listToStrValue(headers.headers \ @@ -98,8 +100,6 @@ def __oneShotUnionUse(expression, unpack=True, limited=False): warnMsg += trimmed logger.warn(warnMsg) - hashDBWrite("%s%s" % (conf.hexConvert, expression), retVal) - return retVal def configUnion(char=None, columns=None):