From 04aa39f0c6ca2d60a10b8c0d007d27b77af2b566 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 15 Jan 2013 13:51:19 +0100 Subject: [PATCH] Minor update --- lib/techniques/error/use.py | 3 ++- lib/techniques/union/use.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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)