diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-08 21:54:03 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-08 21:54:03 +0000 |
commit | 114e957fd6776a6ab3ced1cb5e3f04899696be13 (patch) | |
tree | d6bcb79a252bc6415cc62fca5ca7d3683bfd0d76 /security/hydra/files | |
parent | a828e013aaa04c8fde619dbeec72ea56dbc769b3 (diff) | |
download | ports-114e957fd6776a6ab3ced1cb5e3f04899696be13.tar.gz ports-114e957fd6776a6ab3ced1cb5e3f04899696be13.zip |
Notes
Diffstat (limited to 'security/hydra/files')
-rw-r--r-- | security/hydra/files/patch-printf | 16 | ||||
-rw-r--r-- | security/hydra/files/patch-smbnt | 32 |
2 files changed, 0 insertions, 48 deletions
diff --git a/security/hydra/files/patch-printf b/security/hydra/files/patch-printf deleted file mode 100644 index dd94734267b5..000000000000 --- a/security/hydra/files/patch-printf +++ /dev/null @@ -1,16 +0,0 @@ ---- 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, diff --git a/security/hydra/files/patch-smbnt b/security/hydra/files/patch-smbnt deleted file mode 100644 index e59af5aa7e6d..000000000000 --- a/security/hydra/files/patch-smbnt +++ /dev/null @@ -1,32 +0,0 @@ ---- configure Thu Nov 20 10:45:28 2003 -+++ configure Mon May 3 15:14:26 2004 -@@ -26,5 +26,5 @@ - LIBDIRS=`cat /etc/ld.so.conf 2> /dev/null` - PREFIX=`echo "$1"|sed 's/.*--prefix=//'` --LIBDES="" -+LIBDES=" " - echo - ---- hydra-smbnt.c Fri Dec 12 03:47:16 2003 -+++ hydra-smbnt.c Mon May 3 15:19:09 2004 -@@ -5,6 +5,7 @@ - } - #else --#include "md4.h" --#include <des.h> -+#include <openssl/md4.h> -+#include <openssl/des.h> -+#include <openssl/des_old.h> - - /* -@@ -132,7 +132,7 @@ - unicodePassword[i * 2] = (u_char)pass[i]; - -- MD4Init(&md4Context); -- MD4Update(&md4Context, unicodePassword, mdlen); -- MD4Final(hash, &md4Context); /* Tell MD4 we're done */ -+ MD4_Init(&md4Context); -+ MD4_Update(&md4Context, unicodePassword, mdlen); -+ MD4_Final(hash, &md4Context); /* Tell MD4 we're done */ - } - |