mirror of
https://github.com/hashcat/hashcat
synced 2025-02-21 21:23:14 +01:00
Fixed a bug in rule generator code when using the memory copy function
This commit is contained in:
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
|
||||
|
2
src/rp.c
2
src/rp.c
@ -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…
x
Reference in New Issue
Block a user