temporary debug

This commit is contained in:
van Hauser 2016-02-08 08:20:22 +01:00
commit 095efa631f
2 changed files with 4 additions and 0 deletions

View file

@ -3677,6 +3677,8 @@ int main(int argc, char *argv[]) {
// this is the big function which starts the attacking children, feeds login/password pairs, etc.!
while (exit_condition == 0) {
memset(&fdreadheads, 0, sizeof(fdreadheads));
max_fd = 0;
FD_ZERO(&fdreadheads);
for (head_no = 0, max_fd = 1; head_no < hydra_options.max_use; head_no++) {
if (hydra_heads[head_no]->active > 0) {