mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 05:43:52 -07:00
debug
This commit is contained in:
parent
9de979af9d
commit
a5cdf157f4
1 changed files with 4 additions and 0 deletions
4
hydra.c
4
hydra.c
|
@ -726,6 +726,10 @@ void hydra_restore_write(int print_msg) {
|
|||
}
|
||||
for (j = 0; j < hydra_options.max_use; j++) {
|
||||
memcpy((char *) &hh, hydra_heads[j], sizeof(hydra_head));
|
||||
if (j == 0 && debug) {
|
||||
printf("[DEBUG] sizeof hydra_head: %d\n", sizeof(hydra_head));
|
||||
printf("[DEBUG] memcmp: %d\n", memcmp(hydra_heads[j], &hh, sizeof(hydra_head)));
|
||||
}
|
||||
hh.active = 0; // re-enable disabled heads
|
||||
if ((hh.current_login_ptr != NULL && hh.current_login_ptr != empty_login)
|
||||
|| (hh.current_pass_ptr != NULL && hh.current_pass_ptr != empty_login)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue