From 0a8e45955cddfdae09e8f59cc4729346d1697fea Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 21 Oct 2011 20:44:18 +0000 Subject: [PATCH] minor update --- lib/techniques/union/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/techniques/union/test.py b/lib/techniques/union/test.py index 1e0da7d7b..75d47e5ff 100644 --- a/lib/techniques/union/test.py +++ b/lib/techniques/union/test.py @@ -117,7 +117,7 @@ def __findUnionCharCount(comment, place, parameter, value, prefix, suffix, where min_, max_ = min(min_, ratio), max(max_, ratio) items.append((count, ratio)) - if kb.uChar: + if kb.uChar and kb.uChar != 'NULL': for regex in (kb.uChar, r'>\s*%s\s*<' % kb.uChar): contains = [(count, re.search(regex, page or "", re.IGNORECASE) is not None) for count, page in pages.items()] if len(filter(lambda x: x[1], contains)) == 1: