mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 21:13:51 +03:00
Merge branch 'master' of github.com:sqlmapproject/sqlmap
This commit is contained in:
commit
019fca84a2
|
@ -410,9 +410,10 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
||||||
output = output[:-2] + '..'
|
output = output[:-2] + '..'
|
||||||
|
|
||||||
if conf.verbose in (1, 2) and not showEta:
|
if conf.verbose in (1, 2) and not showEta:
|
||||||
|
_ = count - firstChar
|
||||||
output += '_' * (min(length, conf.progressWidth) - len(output))
|
output += '_' * (min(length, conf.progressWidth) - len(output))
|
||||||
status = ' %d/%d (%d%s)' % (count, length, round(100.0*count/length), '%')
|
status = ' %d/%d (%d%s)' % (_, length, round(100.0 * _ / length), '%')
|
||||||
output += status if count != length else " " * len(status)
|
output += status if _ != length else " " * len(status)
|
||||||
|
|
||||||
dataToStdout("\r[%s] [INFO] retrieved: %s" % (time.strftime("%X"), filterControlChars(output)))
|
dataToStdout("\r[%s] [INFO] retrieved: %s" % (time.strftime("%X"), filterControlChars(output)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user