mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 05:43:52 -07:00
debug message update
This commit is contained in:
parent
516a2adf99
commit
d5901dc2d7
1 changed files with 3 additions and 3 deletions
6
hydra.c
6
hydra.c
|
@ -760,7 +760,7 @@ void hydra_restore_write(int print_msg) {
|
||||||
fprintf(f, "%s\n", PROGRAM);
|
fprintf(f, "%s\n", PROGRAM);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
if (debug)
|
if (debug)
|
||||||
printf("done\n");
|
printf("[DEBUG] done writing session file\n");
|
||||||
if (print_msg)
|
if (print_msg)
|
||||||
printf("The session file ./hydra.restore was written. Type \"hydra -R\" to resume session.\n");
|
printf("The session file ./hydra.restore was written. Type \"hydra -R\" to resume session.\n");
|
||||||
hydra_debug(0, "hydra_restore_write()");
|
hydra_debug(0, "hydra_restore_write()");
|
||||||
|
@ -3657,7 +3657,7 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (verbose)
|
if (verbose)
|
||||||
printf("done\n");
|
printf("[VERBOSE] resolving done\n");
|
||||||
if (hydra_brains.targets == 0)
|
if (hydra_brains.targets == 0)
|
||||||
bail("No server to scan!");
|
bail("No server to scan!");
|
||||||
|
|
||||||
|
@ -3935,7 +3935,7 @@ int main(int argc, char *argv[]) {
|
||||||
hydra_kill_head(i, 1, 3);
|
hydra_kill_head(i, 1, 3);
|
||||||
if (debug) printf("DEBUG: %lu %lu\n", hydra_brains.todo_all, hydra_brains.sent);
|
if (debug) printf("DEBUG: %lu %lu\n", hydra_brains.todo_all, hydra_brains.sent);
|
||||||
// printf("ERROR: weird bug detected!\n");
|
// printf("ERROR: weird bug detected!\n");
|
||||||
bail("Weird bug detected where more tests were performed than possible. Please post your command line here: https://github.com/vanhauser-thc/thc-hydra/issues/113 or send it in an email to vh@thc.org");
|
bail("Weird bug detected where more tests were performed than possible. Please rerun with -d command line switch and post all output plus command line here: https://github.com/vanhauser-thc/thc-hydra/issues/113 or send it in an email to vh@thc.org");
|
||||||
}
|
}
|
||||||
printf("[STATUS] %.2f tries/min, %lu tries in %02lu:%02luh, %lu to do in %02lu:%02luh, %d active\n", (1.0 * hydra_brains.sent) / (((elapsed_status - starttime) * 1.0) / 60), // tries/min
|
printf("[STATUS] %.2f tries/min, %lu tries in %02lu:%02luh, %lu to do in %02lu:%02luh, %d active\n", (1.0 * hydra_brains.sent) / (((elapsed_status - starttime) * 1.0) / 60), // tries/min
|
||||||
hydra_brains.sent, // tries
|
hydra_brains.sent, // tries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue