From fbe5ba5394953b26d830d7ffe5cc5dcce85b124c Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Thu, 21 Apr 2011 10:54:12 +0000 Subject: [PATCH] cosmetics --- lib/techniques/inband/union/test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/techniques/inband/union/test.py b/lib/techniques/inband/union/test.py index 736507c10..c1a85d20c 100644 --- a/lib/techniques/inband/union/test.py +++ b/lib/techniques/inband/union/test.py @@ -132,9 +132,11 @@ def __unionPosition(comment, place, parameter, value, prefix, suffix, count, whe payload, True) or "") unionErrorCase = kb.errorIsNone and wasLastRequestDBMSError() + if unionErrorCase: - warnMsg = "combined UNION/ERROR sql injection case found on column %d. " % (position + 1) - warnMsg += "will try to find another column with better characteristics." + warnMsg = "combined UNION/ERROR SQL injection case found on " + warnMsg += "column %d. sqlmap will try to find another " % (position + 1) + warnMsg += "column with better characteristics" logger.warn(warnMsg) if content and phrase in content: