openbsd-ports/security/hydra/patches/patch-hydra_c
margarida e34bcbaaba Update hydra to version 2.5.
--
From Michael Coulter <mjc@bitz.ca>
2003-12-14 16:35:49 +00:00

22 lines
634 B
Plaintext

$OpenBSD: patch-hydra_c,v 1.1 2003/12/14 16:35:49 margarida Exp $
--- hydra.c.orig 2003-12-13 19:47:41.000000000 -0800
+++ hydra.c 2003-12-13 19:47:56.000000000 -0800
@@ -227,6 +227,8 @@ int hydra_main(int soc, void *nessus, in
unsigned long int ip;
struct in_addr in;
int i, j, sID;
+ int a = 0, scans = 0, done = 0;
+ char rc;
#ifdef NESSUS_PLUGIN
char *svc_kb_name;
@@ -1052,8 +1054,6 @@ int hydra_main(int soc, void *nessus, in
}
/* feed the children with ip address data - be a good mom */
- int a = 0, scans = 0, done = 0;
- char rc;
while (done < servers) {
for (a = 0; a < servers; a++) {