mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
remove rain mode
This commit is contained in:
parent
ac2fd35b4f
commit
f423875d90
4 changed files with 7 additions and 34 deletions
7
hydra.c
7
hydra.c
|
@ -1780,7 +1780,7 @@ int32_t hydra_send_next_pair(int32_t target_no, int32_t head_no) {
|
|||
#ifndef HAVE_MATH_H
|
||||
sleep(1);
|
||||
#else
|
||||
hydra_targets[target_no]->pass_ptr = bf_next(hydra_options.rainy);
|
||||
hydra_targets[target_no]->pass_ptr = bf_next();
|
||||
if (debug)
|
||||
printf("[DEBUG] bfg new password for next child: %s\n", hydra_targets[target_no]->pass_ptr);
|
||||
#endif
|
||||
|
@ -2280,7 +2280,6 @@ int main(int argc, char *argv[]) {
|
|||
hydra_brains.ofp = stdout;
|
||||
hydra_brains.targets = 1;
|
||||
hydra_options.waittime = waittime = WAITTIME;
|
||||
hydra_options.rainy = 0;
|
||||
bf_options.disable_symbols = 0;
|
||||
|
||||
// command line processing
|
||||
|
@ -2316,7 +2315,7 @@ int main(int argc, char *argv[]) {
|
|||
hydra_restore_read();
|
||||
break;
|
||||
case 'r':
|
||||
hydra_options.rainy = 1;
|
||||
fprintf(stderr, "Warning: the option -r has been removed.\n");
|
||||
break;
|
||||
case 'I':
|
||||
ignore_restore = 1; // this is not to be saved in hydra_options!
|
||||
|
@ -3433,7 +3432,7 @@ int main(int argc, char *argv[]) {
|
|||
if (bf_init(bf_options.arg))
|
||||
exit(-1); // error description is handled by bf_init
|
||||
|
||||
pass_ptr = bf_next(hydra_options.rainy);
|
||||
pass_ptr = bf_next();
|
||||
hydra_brains.countpass += bf_get_pcount();
|
||||
hydra_brains.sizepass += BF_BUFLEN;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue