[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nessus-plugins-writers
Subject:    fix for gnutella_detect.nasl
From:       "Michael Scheidell" <scheidell () secnap ! net>
Date:       2002-05-23 1:29:00
Message-ID: 002901c201f9$38500d10$2801010a () MIKELT
[Download RAW message or body]

errors sent to nessusd.dump if no socket found.
moved curly brace  (too many late nights, too much coffee?)


--- gnutella_detect.nasl.orig  Fri May 17 14:09:55 2002
+++ gnutella_detect.nasl  Wed May 22 21:27:04 2002
@@ -54,7 +54,6 @@
   send(socket:soc, data:string("GNUTELLA CONNECT/0.4\n\n"));
   answer = recv(socket:soc, length:500);
   close(soc);
- }
  # display(string(">", answer, "<\n"));

  if ("GNUTELLA OK" >< answer)
@@ -63,7 +62,7 @@
   set_kb_item(name:"Services/gnutella", value:port);
   return(0);
  }
-
+}
  banner = get_kb_item(string("www/banner/", port));
  if(!banner)
  {

Michael Scheidell
SECNAP Network Security, LLC
(561) 368-9561 scheidell@secnap.net
http://www.secnap.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic