[Openvas-commits] r3264 - in trunk/openvas-plugins: . scripts

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed May 6 22:55:26 CEST 2009


Author: edjenguele
Date: 2009-05-06 22:55:24 +0200 (Wed, 06 May 2009)
New Revision: 3264

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/remote-detect-WindowsSharepointServices.nasl
Log:
Minor fix. report WSS on Sun GlassFish Enterprise Server
due to the incorrect position of x-powered-by header.


Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-05-06 16:56:49 UTC (rev 3263)
+++ trunk/openvas-plugins/ChangeLog	2009-05-06 20:55:24 UTC (rev 3264)
@@ -1,3 +1,7 @@
+2009-05-06 Christian Eric Edjenguele <christian.edjenguele at owasp>
+	* scripts/remote-detect-WindowsSharepointServices.nasl:
+	Minor fix. report WSS on Sun GlassFish Enterprise Server
+
 2009-05-06 Michael Meyer <mime at gmx.de>
 	* scripts/axigen_34716.nasl:
 	Added cve_id

Modified: trunk/openvas-plugins/scripts/remote-detect-WindowsSharepointServices.nasl
===================================================================
--- trunk/openvas-plugins/scripts/remote-detect-WindowsSharepointServices.nasl	2009-05-06 16:56:49 UTC (rev 3263)
+++ trunk/openvas-plugins/scripts/remote-detect-WindowsSharepointServices.nasl	2009-05-06 20:55:24 UTC (rev 3264)
@@ -10,13 +10,7 @@
 #
 # TODO: implement service pack gathering using the minor version number
 # source: http://www.microsoft.com/downloads/details.aspx?FamilyId=D51730B5-48FC-4CA2-B454-8DC2CAF93951&displaylang=en#Requirements
-# System Requirements for WSS 3.0 - MicrosoftSharePointTeamServices: 12.0.0.4518  
 #
-#    * Supported Operating Systems: Windows Server 2003 Service Pack 1
-#
-#    * The following is also required:
-#          * Microsoft .NET Framework 3.0
-#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 and later,
 # as published by the Free Software Foundation
@@ -96,9 +90,10 @@
     "Connection: keep-alive\r\n\r\n"
     );
 
+report = '';
+
 if(port){
 	response = http_keepalive_send_recv(port:port, data:request, bodyonly:0);
-	report = '';
 
 	if(response){
 		
@@ -160,13 +155,15 @@
 		if(aspNetVersion){		
 			set_kb_item(name:"aspNetVersion/version", value:aspNetVersion[1]);	
 			report += "\n" + aspNetVersion[0];
+		
+			if(xPoweredBy){
+				set_kb_item(name:"ASPX/enabled", value:TRUE);
+				report += "\n" + xPoweredBy[0];	
+			}
 		}
-		if(xPoweredBy){
-			set_kb_item(name:"ASPX/enabled", value:TRUE);
-			report += "\n" + xPoweredBy[0];	
-		}
-		if ( report ) {		
-		  security_note(port:port, data:report);
-		}
 	}
 }
+if ( report ) {		
+	security_note(port:port, data:report);
+}
+



More information about the Openvas-commits mailing list