Author: kost
Date: 2008-10-17 10:39:02 +0200 (Fri, 17 Oct 2008)
New Revision: 1564

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/find_service2.nasl
Log:
fixed subversion detection



Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog     2008-10-17 07:59:51 UTC (rev 1563)
+++ trunk/openvas-plugins/ChangeLog     2008-10-17 08:39:02 UTC (rev 1564)
@@ -1,3 +1,6 @@
+2008-10-17  Vlatko Kosturjak <[EMAIL PROTECTED]>
+       * scripts/find_service2.nasl: fixed subversion detection
+
 2008-10-16  Thomas Reinke <[EMAIL PROTECTED]>
        * Fixed dependencies in subversion related scripts
          (rely directly on find_service2.nasl)

Modified: trunk/openvas-plugins/scripts/find_service2.nasl
===================================================================
--- trunk/openvas-plugins/scripts/find_service2.nasl    2008-10-17 07:59:51 UTC 
(rev 1563)
+++ trunk/openvas-plugins/scripts/find_service2.nasl    2008-10-17 08:39:02 UTC 
(rev 1564)
@@ -95,7 +95,8 @@
 
 # The full banner is (without end of line:
 # ( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )
-if ( "success ( 1 2"  >< r ) 
+# ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops 
depth log-revprops partial-replay ) ) )
+if ( r=~ '^\\( success \\( [0-9] [0-9] \\(.*\\) \\(.*') 
 {
  register_service(port:port, proto:"subversion");
  security_note(port:port, data:"A SubVersion server is running on this port");

_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits

Reply via email to