
renaud at nessus
Jan 16, 2003, 6:22 AM
Post #1 of 1
(68 views)
Permalink
|
|
nessus-plugins/plugins/hydra hydra.c,1.7,1.8
|
|
Update of /usr/local/cvs/nessus-plugins/plugins/hydra In directory raccoon.nessus.org:/tmp/cvs-serv26962 Modified Files: hydra.c Log Message: bug fix, related to bug#60 (the correct kb entry is Services/www, not Services/http Index: hydra.c =================================================================== RCS file: /usr/local/cvs/nessus-plugins/plugins/hydra/hydra.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- hydra.c 15 Jan 2003 10:12:51 -0000 1.7 +++ hydra.c 16 Jan 2003 13:22:20 -0000 1.8 @@ -418,7 +418,10 @@ #ifdef NESSUS_PLUGIN svc_kb_name = malloc(40 + strlen(service)); - sprintf(svc_kb_name, "Services/%s", service); + if(strcmp(service, "http") == 0) + strcpy(svc_kb_name, "Services/www"); + else + sprintf(svc_kb_name, "Services/%s", service); asc_port = plug_get_key(nessus, svc_kb_name);
|