samruser: update --user output header

main
Marshall Hallenbeck 2024-03-21 19:43:00 -04:00
parent 1e68591742
commit 020ec1758c
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ class UserSamrDump:
return users
def print_user_info(self, users):
self.logger.highlight(f"{'Username':<30} {'Last PW Set':<20} {'Bad PW #'} {'Description'}") # header
self.logger.highlight(f"{'-Username-':<30}{'-Last PW Set-':<20}{'-BadPW-':<8}{'-Description-':<60}")
for user in users:
self.logger.debug(f"Full user info: {user}")
self.logger.highlight(f"{user['name']:<30}{user['last_pw_set']:<20}{user['bad_pwd_count']:<8}{user['description']} ")