Merge branch 'master' of github.com:sqlmapproject/sqlmap

This commit is contained in:
Bernardo Damele 2013-01-07 17:40:14 +00:00
commit f8c5ec7daf

View File

@ -116,7 +116,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if length == 0:
return 0, ""
if (lastChar > 0 or firstChar > 0):
if length and (lastChar > 0 or firstChar > 0):
length = min(length, lastChar or length) - firstChar
showEta = conf.eta and isinstance(length, int)