Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df43157

Browse files
committed
minor patch
1 parent 2ee198a commit df43157

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/techniques/union/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def unionUse(expression, unpack=True, dump=False):
251251
infoMsg += "%d entries" % stopLimit
252252
logger.info(infoMsg)
253253

254-
elif not isinstance(count, basestring) or count and not count.isdigit():
254+
elif count and (not isinstance(count, basestring) or not count.isdigit()):
255255
warnMsg = "it was not possible to count the number "
256256
warnMsg += "of entries for the SQL query provided. "
257257
warnMsg += "sqlmap will assume that it returns only "

0 commit comments

Comments
 (0)