diff -urp john-1.7.3.1-all-2/src/cracker.c john-1.7.3.1/src/cracker.c --- john-1.7.3.1-all-2/src/cracker.c 2008-08-24 06:02:12 +0000 +++ john-1.7.3.1/src/cracker.c 2008-08-28 01:00:49 +0000 @@ -133,7 +133,6 @@ static int crk_process_guess(struct db_s log_guess(crk_db->options->flags & DB_LOGIN ? pw->login : "?", dupe ? NULL : pw->source, key); - pw->found = 1; crk_db->password_count--; crk_db->guess_count++; status.guess_count++; @@ -147,13 +146,6 @@ static int crk_process_guess(struct db_s if (pw == salt->list) { salt->list = pw->next; - search_pw = salt->list; - - while(search_pw && (search_pw->found == 1)) - { - salt->list = search_pw->next; - search_pw = salt->list; - } //ldr_update_salt(crk_db, salt); crk_remove_hash(pw, salt, crk_db); @@ -172,14 +164,13 @@ static int crk_process_guess(struct db_s if (crk_db->salts) crk_init_salt(); else return 1; } } else { -/* search_pw = salt->list; while (search_pw->next != pw) search_pw = search_pw->next; - search_pw->next = pw->next; */ - crk_remove_hash(pw, salt, crk_db); + search_pw->next = pw->next; //ldr_update_salt(crk_db, salt); + crk_remove_hash(pw, salt, crk_db); } return 0; diff -urp john-1.7.3.1-all-2/src/loader.c john-1.7.3.1/src/loader.c --- john-1.7.3.1-all-2/src/loader.c 2008-08-24 07:31:10 +0000 +++ john-1.7.3.1/src/loader.c 2008-08-28 01:02:04 +0000 @@ -455,7 +455,6 @@ static void ldr_load_pw_line(struct db_m current_pw = current_salt->list = mem_alloc_tiny( pw_size, MEM_ALIGN_WORD); current_pw->next = last_pw; - current_pw->found = 0; last_pw = db->password_hash[pw_hash]; db->password_hash[pw_hash] = current_pw; diff -urp john-1.7.3.1-all-2/src/loader.h john-1.7.3.1/src/loader.h --- john-1.7.3.1-all-2/src/loader.h 2008-08-24 06:02:12 +0000 +++ john-1.7.3.1/src/loader.h 2008-08-28 01:02:14 +0000 @@ -28,9 +28,6 @@ struct db_password { /* Some bytes of binary ciphertext for fast comparison */ void *binary; -/* checks whether a pwd has been found */ - unsigned int found; - /* ASCII ciphertext for exact comparison and saving with cracked passwords */ char *source; diff -urp john-1.7.3.1-all-2/src/params.h john-1.7.3.1/src/params.h --- john-1.7.3.1-all-2/src/params.h 2008-08-24 08:01:57 +0000 +++ john-1.7.3.1/src/params.h 2008-08-28 01:03:22 +0000 @@ -15,7 +15,7 @@ /* * John's version number. */ -#define JOHN_VERSION "1.7.3.1-all-2" +#define JOHN_VERSION "1.7.3.1-all-2-lpsfix1" /* * Notes to packagers of John for *BSD "ports", Linux distributions, etc.: