Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix an old bug with CPstoreUTF8 vs. split hashes and --show. Some

cracked hashes with passwords containing 8-bit characters would be
output as partially uncracked in case CPstoreUTF8 was enabled.
  • Loading branch information...
commit 0862670c003dccb1ab85ba946f9ab9aa4510950a 1 parent 790e34a
@magnumripper authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/loader.c
View
4 src/loader.c
@@ -1167,7 +1167,9 @@ static void ldr_show_pw_line(struct db_main *db, char *line)
if (format)
chars = format->params.plaintext_length;
if (index < count - 1 && current &&
- (int)strlen(current->plaintext) != chars)
+ (options.store_utf8 ?
+ (int)strlen8((UTF8*)current->plaintext) :
+ (int)strlen(current->plaintext)) != chars)
current = NULL;
}
Please sign in to comment.
Something went wrong with that request. Please try again.