From 2e60ef1691d0c9f23a3cfb37faba162ff3a695e7 Mon Sep 17 00:00:00 2001 From: Jorge Matricali Date: Wed, 7 Jun 2017 19:50:59 -0300 Subject: [PATCH] + show numeric progress in progress bar --- bin/brutekrag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/brutekrag b/bin/brutekrag index d07059e..d875e27 100755 --- a/bin/brutekrag +++ b/bin/brutekrag @@ -110,7 +110,7 @@ class brutekragThread(threading.Thread): break else: if args.progress: - last = '%s:%d %s:%s' % (loginAttempt[0], args.port, loginAttempt[1], loginAttempt[2]) + last = '[%d/%d] %s:%d %s:%s' % (processed+1, total, loginAttempt[0], args.port, loginAttempt[1], loginAttempt[2]) update_progress(processed+1, total, last) else: print_debug('[%s:%d] password %s for user %s is not valid.' % (loginAttempt[0], args.port, loginAttempt[2], loginAttempt[1]))