Update to version 2.4.

From Michael Coulter <mjc@bitz.ca>
This commit is contained in:
margarida 2003-11-11 17:26:11 +00:00
parent cda0e2df62
commit d91f615d36
4 changed files with 39 additions and 8 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.9 2003/11/02 17:40:17 margarida Exp $
# $OpenBSD: Makefile,v 1.10 2003/11/11 17:26:11 margarida Exp $
COMMENT= "parallelized login hacker"
DISTNAME= hydra-2.2
DISTNAME= hydra-2.4
CATEGORIES= security
HOMEPAGE= http://www.thehackerschoice.com/
HOMEPAGE= http://www.thc.org/
MASTER_SITES= ${HOMEPAGE}/releases/ \
${MASTER_SITE_PACKETSTORM:=groups/thc/}
@ -21,10 +21,11 @@ PERMIT_DISTFILES_FTP= Yes
NO_REGRESS= Yes
CONFIGURE_STYLE= gnu
MAKE_FILE= Makefile.hydra
post-extract:
@chmod -R u+w ${WRKDIST}
MAKE_FLAGS= CC="${CC}" OPTS="${CFLAGS}"
FAKE_FLAGS= INSTALL="${WRKINST}${PREFIX}/bin"
post-install:

View File

@ -1,3 +1,3 @@
MD5 (hydra-2.2.tar.gz) = 05042c1add6155ea48233df05a1e37ae
RMD160 (hydra-2.2.tar.gz) = 213913da08da52fd4702a46954093081b40cee40
SHA1 (hydra-2.2.tar.gz) = 65bb35cbe4c4aa4d53fd75cc3b677861117f4a38
MD5 (hydra-2.4.tar.gz) = a680f7f386b25a57458a1abd41adae5b
RMD160 (hydra-2.4.tar.gz) = 33f1553783f6adcbc248d15d25e26cadcc7b4834
SHA1 (hydra-2.4.tar.gz) = 9725ada32fb5bcf3dd4be9255b74056a6a6be8e6

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2003/11/11 17:26:11 margarida Exp $
--- configure.orig 2003-08-14 16:35:08.000000000 +0100
+++ configure 2003-11-03 22:21:50.000000000 +0000
@@ -118,7 +118,7 @@ fi
echo
XDEFINES=""
-XLIBS=""
+XLIBS="-lm"
XLIBPATHS=""
XIPATHS=""

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-hydra-mysql_c,v 1.1 2003/11/11 17:26:11 margarida Exp $
--- hydra-mysql.c.orig 2003-08-20 10:34:21.000000000 +0100
+++ hydra-mysql.c 2003-11-03 22:22:07.000000000 +0000
@@ -291,12 +291,13 @@ char *scramble(char *to, const char *mes
if (password && password[0])
{
char *to_start=to;
+ char extra;
hash_password(hash_pass,password);
hash_password(hash_message,message);
randominit(&rand_st,hash_pass[0] ^ hash_message[0], hash_pass[1] ^ hash_message[1]);
while (*message++)
*to++= (char) (floor(rnd(&rand_st)*31)+64);
- char extra=(char) (floor(rnd(&rand_st)*31));
+ extra=(char) (floor(rnd(&rand_st)*31));
while (to_start != to)
*(to_start++)^=extra;
}