summaryrefslogtreecommitdiff
path: root/security/hydra/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/hydra/files')
-rw-r--r--security/hydra/files/patch-hydra-pcanywhere.c21
-rw-r--r--security/hydra/files/patch-hydra-teamspeak.c26
2 files changed, 21 insertions, 26 deletions
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));
-