aboutsummaryrefslogtreecommitdiff
path: root/security/hydra
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-10-10 23:02:44 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-10-10 23:02:44 +0000
commit51d0dd786d4c2bc2dcea70ae75c064d9cf90cdf8 (patch)
tree9faa029dbfe7bb27b192337cdf78a5e9b97ecb80 /security/hydra
parent9099b4c79ae117c86072a9a1d6af950923b5b021 (diff)
downloadports-51d0dd786d4c2bc2dcea70ae75c064d9cf90cdf8.tar.gz
ports-51d0dd786d4c2bc2dcea70ae75c064d9cf90cdf8.zip
Notes
Diffstat (limited to 'security/hydra')
-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));
-