mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
profound mangling
This commit is contained in:
parent
56d1726edf
commit
78b3358862
1 changed files with 2 additions and 2 deletions
4
bfg.c
4
bfg.c
|
@ -219,9 +219,9 @@ char *bf_next(_Bool rainy) {
|
|||
bf_options.ptr[0] = bf_options.crs[bf_options.state[0]];
|
||||
for(i=1; i<bf_options.current; ++i) {
|
||||
bf_options.ptr[i] = bf_options.crs[(bf_options.state[i] + bf_options.rain) % bf_options.crs_len];
|
||||
bf_options.rain -= bf_options.gcounter / (bf_options.current - i);
|
||||
bf_options.rain /= bf_options.gcounter % (bf_options.crs_len / 2) + 1;
|
||||
bf_options.gcounter+=2;
|
||||
}
|
||||
bf_options.gcounter+=1+bf_options.crs_len%2;
|
||||
}
|
||||
else
|
||||
for(i=0; i<bf_options.current; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue