implement rain

This commit is contained in:
owein D 2020-10-08 04:10:54 +02:00 committed by yvain douard
commit c498d4f6db
2 changed files with 2 additions and 9 deletions

8
bfg.h
View file

@ -43,14 +43,6 @@ typedef struct {
char *crs; /* internal representation of charset */ char *crs; /* internal representation of charset */
char *ptr; /* ptr to the last generated password */ char *ptr; /* ptr to the last generated password */
uint32_t disable_symbols; uint32_t disable_symbols;
<<<<<<< HEAD
=======
uint64_t rotate;
<<<<<<< HEAD
>>>>>>> c65e3a2 (update efficient rain option)
=======
uint64_t strafe;
>>>>>>> fc82b52 (working algo after a change)
} bf_option; } bf_option;
extern bf_option bf_options; extern bf_option bf_options;

View file

@ -590,7 +590,8 @@ void help_bfg() {
"others,\n" "others,\n"
" just add their real representation.\n" " just add their real representation.\n"
" -y disable the use of the above letters as placeholders\n" " -y disable the use of the above letters as placeholders\n"
" -r use a method to delinearize the bruteforce.\n\n" " -r use a shuffling method called 'rain' to try to break\n"
" the linearity of the bruteforce\n"
"Examples:\n" "Examples:\n"
" -x 3:5:a generate passwords from length 3 to 5 with all " " -x 3:5:a generate passwords from length 3 to 5 with all "
"lowercase letters\n" "lowercase letters\n"