Mailing List Archive

nessus-plugins/scripts find_service2.nasl,1.9,1.10
Update of /usr/local/cvs/nessus-plugins/scripts
In directory raccoon.nessus.org:/tmp/cvs-serv79412

Modified Files:
find_service2.nasl
Log Message:
o Support for another flavor of daytime, thanks to Kent Engstrom


Index: find_service2.nasl
===================================================================
RCS file: /usr/local/cvs/nessus-plugins/scripts/find_service2.nasl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- find_service2.nasl 9 Jan 2003 19:52:09 -0000 1.9
+++ find_service2.nasl 14 Jan 2003 17:54:57 -0000 1.10

@@ -101,6 +101,15 @@
exit(0);
}

+
+# Another flavor of daytime
+if(ereg(pattern:"^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (January|February|March|April|May|June|July|August|September|October|November|December) ([0-9]|[1-3][0-9]), [1-2][0-9][0-9][0-9] .*", string:r))
+{
+ register_service(port:port, proto:"daytime");
+ exit(0);
+}
+
+
# If you do not want to "double check", uncomment the next two lines