aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-10-11 07:02:44 +0800
committeredwin <edwin@FreeBSD.org>2005-10-11 07:02:44 +0800
commit409fd1091c3a0b0f5816be2980d17c3c13536f88 (patch)
tree0e1568ef34317e566110716e1fd4560afebef93d /security
parent31557f7c2a03bcafcfc8a26452b567816bd8d01b (diff)
downloadfreebsd-ports-gnome-409fd1091c3a0b0f5816be2980d17c3c13536f88.tar.gz
freebsd-ports-gnome-409fd1091c3a0b0f5816be2980d17c3c13536f88.tar.zst
freebsd-ports-gnome-409fd1091c3a0b0f5816be2980d17c3c13536f88.zip
Upgrade to 5.0
Submitted by: B3r3n <B3r3n@free.fr>
Diffstat (limited to 'security')
-rw-r--r--security/hydra/Makefile2
-rw-r--r--security/hydra/distinfo4
-rw-r--r--security/hydra/files/patch-hydra-pcanywhere.c21
-rw-r--r--security/hydra/files/patch-hydra-teamspeak.c26
4 files changed, 24 insertions, 29 deletions
diff --git a/security/hydra/Makefile b/security/hydra/Makefile
index dbd3c929162e..6b563cb89688 100644
--- a/security/hydra/Makefile
+++ b/security/hydra/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= hydra
-PORTVERSION= 4.6
+PORTVERSION= 5.0
CATEGORIES= security
MASTER_SITES= http://www.thc.org/releases/ \
${MASTER_SITE_PACKETSTORM}
diff --git a/security/hydra/distinfo b/security/hydra/distinfo
index 8c64579ba615..16e1a2d6c1bc 100644
--- a/security/hydra/distinfo
+++ b/security/hydra/distinfo
@@ -1,2 +1,2 @@
-MD5 (hydra-4.6-src.tar.gz) = e41a6653cb0b75c0ab2033c84ebb92cc
-SIZE (hydra-4.6-src.tar.gz) = 171063
+MD5 (hydra-5.0-src.tar.gz) = 792a9c6ec9e811f1559ee610b4428743
+SIZE (hydra-5.0-src.tar.gz) = 188904
diff --git a/security/hydra/files/patch-hydra-pcanywhere.c b/security/hydra/files/patch-hydra-pcanywhere.c
new file mode 100644
index 000000000000..ef1b59b7cb59
--- /dev/null
+++ b/security/hydra/files/patch-hydra-pcanywhere.c
@@ -0,0 +1,21 @@
+--- hydra-pcanywhere.c.orig Wed Sep 7 21:59:26 2005
++++ hydra-pcanywhere.c Mon Oct 10 20:22:28 2005
+@@ -111,8 +111,9 @@
+ char clogin[128]="";
+ char cpass[128]="";
+ int ret,i;
+-
++ char *server[5];
+ char *client[4];
++
+ int clientsize[4];
+ client[0]="\x00\x00\x00\x00";
+ clientsize[0]=4;
+@@ -123,7 +124,6 @@
+ client[3]="\x6f\x62\x01\x02\x00\x00\x00";
+ clientsize[3]=7;
+
+- char *server[5];
+ server[0]= "nter";
+ server[1]="\x1B\x61";
+ server[2]="\0x1B\0x62";
diff --git a/security/hydra/files/patch-hydra-teamspeak.c b/security/hydra/files/patch-hydra-teamspeak.c
deleted file mode 100644
index 57a4692504a2..000000000000
--- a/security/hydra/files/patch-hydra-teamspeak.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- hydra-teamspeak.c.orig Thu Jan 6 16:39:55 2005
-+++ hydra-teamspeak.c Sat May 21 20:00:40 2005
-@@ -14,11 +14,6 @@
- char *login, *pass;
- char buf[100];
-
-- if (strlen(login = hydra_get_next_login()) == 0)
-- login = empty;
-- if (strlen(pass = hydra_get_next_password()) == 0)
-- pass = empty;
--
- struct team_speak {
- char header[16];
- unsigned long crc;
-@@ -35,6 +30,11 @@
- char login[29];
- };
- struct team_speak teamspeak;
-+
-+ if (strlen(login = hydra_get_next_login()) == 0)
-+ login = empty;
-+ if (strlen(pass = hydra_get_next_password()) == 0)
-+ pass = empty;
-
- memset(&teamspeak, 0, sizeof(struct team_speak));
-