From df43157284c35853f5c84d3cb59c3b92d6c40bd7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 1 Feb 2012 12:28:06 +0000 Subject: [PATCH] minor patch --- lib/techniques/union/use.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 0158e9cc8..e2a14a1ab 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -251,7 +251,7 @@ def unionUse(expression, unpack=True, dump=False): infoMsg += "%d entries" % stopLimit logger.info(infoMsg) - elif not isinstance(count, basestring) or count and not count.isdigit(): + elif count and (not isinstance(count, basestring) or not count.isdigit()): warnMsg = "it was not possible to count the number " warnMsg += "of entries for the SQL query provided. " warnMsg += "sqlmap will assume that it returns only "