mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor fix (Issue #305)
This commit is contained in:
parent
e219fad8bf
commit
a8f02916a9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user