From 4fdb6ac9b9066e0ab2d0edb47e17356183fc86cd Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 22 May 2011 15:30:19 +0000 Subject: [PATCH] adding useful info --- lib/techniques/inband/union/test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/techniques/inband/union/test.py b/lib/techniques/inband/union/test.py index e68948a4f..e1e2a5a09 100644 --- a/lib/techniques/inband/union/test.py +++ b/lib/techniques/inband/union/test.py @@ -206,6 +206,11 @@ def __unionTestByCharBruteforce(comment, place, parameter, value, prefix, suffix validPayload, vector = __unionConfirm(comment, place, parameter, value, prefix, suffix, count) + if not all([validPayload, vector]) and not conf.uChar: + warnMsg = "please consider usage of --union-char option " + warnMsg += "(e.g. --union-char=1) to make it work" + logger.warn(warnMsg) + return validPayload, vector def unionTest(comment, place, parameter, value, prefix, suffix):