Skip to content

Commit

Permalink
+ show numeric progress in progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
matricali committed Jun 7, 2017
1 parent 364f26f commit 2e60ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/brutekrag
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit 2e60ef1

Please sign in to comment.