mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 13:23:57 -07:00
removed warnings
This commit is contained in:
parent
8fe519dd75
commit
4cc2dcebc2
7 changed files with 26 additions and 27 deletions
2
hydra.c
2
hydra.c
|
@ -3603,7 +3603,7 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
for (j = 0; j < hydra_options.max_use; j++)
|
||||
if (hydra_heads[j]->active >= 0 && (hydra_heads[j]->target_no == target_no || hydra_options.exit_found == 2)) {
|
||||
if (hydra_brains.targets > 1 && hydra_options.exit_found < 2)
|
||||
if (hydra_brains.targets > hydra_brains.finished && hydra_options.exit_found < 2)
|
||||
hydra_kill_head(j, 1, 0); // kill all heads working on the target
|
||||
else
|
||||
hydra_kill_head(j, 1, 2); // kill all heads working on the target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue