diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 9bec5ec65..a06148956 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -119,7 +119,8 @@ def _oneShotErrorUse(expression, field=None): threadData.lastRequestUID else None, re.DOTALL | re.IGNORECASE) if trimmed: - warnMsg = "possible server trimmed output detected (due to its length): " + warnMsg = "possible server trimmed output detected " + warnMsg += "(due to its length and/or content): " warnMsg += safecharencode(trimmed) logger.warn(warnMsg) diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 2325b9daf..6e78263b6 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -102,7 +102,8 @@ def _oneShotUnionUse(expression, unpack=True, limited=False): trimmed = _("%s(?P.*?)<" % (kb.chars.start)) if trimmed: - warnMsg = "possible server trimmed output detected (probably due to its length): " + warnMsg = "possible server trimmed output detected " + warnMsg += "(probably due to its length and/or content): " warnMsg += safecharencode(trimmed) logger.warn(warnMsg)