Fixed a bug in rule generator code when using the memory copy function

pull/581/head
jsteube 8 years ago
parent b0a616084d
commit 45ffc764ed

@ -18,8 +18,9 @@
## Bugs
##
- Fixed a bug when cracking a large salted hashlist status view showed 0H/s but progress counter increased
- Fixed a bug when loading custom charset from file
- Fixed a bug in wordlist reject code when cracking a large salted hashlist
- Fixed a bug in custom charset from file parsing code
- Fixed a bug in rule generator code when using the memory copy function
##
## Algorithms

@ -234,7 +234,7 @@ int generate_random_rule (char rule_buf[RP_RULE_BUFSIZ], const u32 rp_gen_func_m
p1 = get_random_num (0, sizeof (grp_pos));
rule_buf[rule_pos++] = grp_pos[p1];
p2 = get_random_num (1, sizeof (grp_pos));
rule_buf[rule_pos++] = grp_pos[p1];
rule_buf[rule_pos++] = grp_pos[p2];
p3 = get_random_num (0, sizeof (grp_pos));
rule_buf[rule_pos++] = grp_pos[p3];
break;

Loading…
Cancel
Save