diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index ef96ca02d..08cf4b5d1 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -201,7 +201,8 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None output = '...' + output[3:] if endCharIndex - startCharIndex == conf.progressWidth: output = output[:-3] + '...' - status = ' %d/%d' % (count, length) + output += '_' * (min(length, conf.progressWidth) - len(output)) + status = ' %d/%d (%d%s)' % (count, length, round(100.0*count/length), '%') output += status if count != length else " "*len(status) iolock.acquire() dataToStdout("\r[%s] [INFO] retrieved: %s" % (time.strftime("%X"), output))