1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- hydra.c Fri Apr 16 11:37:13 2004
+++ hydra.c Mon May 3 15:43:51 2004
@@ -215,5 +215,5 @@
return;
- printf("[DEBUG] Code: %s Time: %lu\n", string, time(NULL));
+ printf("[DEBUG] Code: %s Time: %lu\n", string, (long unsigned)time(NULL));
printf("[DEBUG] Options: mode %d ssl %d restore %d showAttempt %d tasks %d tnp %d tpsal %d exit_found %d miscptr %s service %s\n",
hydra_options.mode, hydra_options.ssl, hydra_options.restore, hydra_options.showAttempt, hydra_options.tasks,
@@ -1608,5 +1608,5 @@
if ((hydra_brains.todo_all - hydra_brains.sent) / (hydra_brains.sent / (elapsed_status - starttime)) < 150)
status_print = 59;
- printf("[STATUS] %.2f tries/min, %lu tries in %02lu:%02luh, %lu todo in %02lu:%02luh\n",
+ printf("[STATUS] %.2f tries/min, %lu tries in %02d:%02dh, %lu todo in %02lu:%02luh\n",
(1.0 * hydra_brains.sent) / (((elapsed_status - starttime) * 1.0) / 60), hydra_brains.sent, (elapsed_status - starttime) / 3600,
((elapsed_status - starttime) % 3600) / 60, hydra_brains.todo_all - hydra_brains.sent,
|