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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 30 16:47:02 CET 2009


Author: mime
Date: 2009-10-30 16:47:00 +0100 (Fri, 30 Oct 2009)
New Revision: 5763

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/gb_sun_java_web_porxy_svr_vuln_lin.nasl
Log:
Bugfix

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-10-30 14:45:51 UTC (rev 5762)
+++ trunk/openvas-plugins/ChangeLog	2009-10-30 15:47:00 UTC (rev 5763)
@@ -1,5 +1,10 @@
 2009-10-30 Michael Meyer <michael.meyer at intevation.de>
 
+	* scripts/gb_sun_java_web_porxy_svr_vuln_lin.nasl:
+	Bugfix. Bug was related to Bug-ID #1066.
+
+2009-10-30 Michael Meyer <michael.meyer at intevation.de>
+
 	* scripts/landesk_detect.nasl,
 	scripts/ePo_detect.nasl,
 	scripts/cherokee_36874.nasl:

Modified: trunk/openvas-plugins/scripts/gb_sun_java_web_porxy_svr_vuln_lin.nasl
===================================================================
--- trunk/openvas-plugins/scripts/gb_sun_java_web_porxy_svr_vuln_lin.nasl	2009-10-30 14:45:51 UTC (rev 5762)
+++ trunk/openvas-plugins/scripts/gb_sun_java_web_porxy_svr_vuln_lin.nasl	2009-10-30 15:47:00 UTC (rev 5763)
@@ -100,13 +100,13 @@
   exit(0);
 }
 
-sock = ssh_login_or_reuse_connection();
-if(!sock){
-  exit(0);
-}
-
 if(banner =~ "Server: Sun-Java-System-Web-Proxy-Server/4\.0")
 {
+  sock = ssh_login_or_reuse_connection();
+  if(!sock){
+      exit(0);
+  }
+
   sunName = find_file(file_name:"proxy-admserv/start", file_path:"/",
                       useregex:TRUE, regexpar:"$", sock:sock);
   foreach binary_sunName (sunName)
@@ -123,5 +123,5 @@
       exit(0);
     }
   }
+ ssh_close_connection();
 }
-ssh_close_connection();



More information about the Openvas-commits mailing list