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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 9 12:18:19 CEST 2009


Author: mime
Date: 2009-10-09 12:18:16 +0200 (Fri, 09 Oct 2009)
New Revision: 5457

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/secpod_ms08-067_900056.nasl
Log:
Bugfix

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-10-09 09:57:51 UTC (rev 5456)
+++ trunk/openvas-plugins/ChangeLog	2009-10-09 10:18:16 UTC (rev 5457)
@@ -1,5 +1,10 @@
 2009-10-09  Michael Meyer <michael.meyer at intevation.de>
 
+	* scripts/secpod_ms08-067_900056.nasl:
+	Now the right Bugfix.
+
+2009-10-09  Michael Meyer <michael.meyer at intevation.de>
+
 	* scripts/wu_ftpd_site_exec.nasl,
 	scripts/secpod_ms08-067_900056.nasl:
 	Bugfix.

Modified: trunk/openvas-plugins/scripts/secpod_ms08-067_900056.nasl
===================================================================
--- trunk/openvas-plugins/scripts/secpod_ms08-067_900056.nasl	2009-10-09 09:57:51 UTC (rev 5456)
+++ trunk/openvas-plugins/scripts/secpod_ms08-067_900056.nasl	2009-10-09 10:18:16 UTC (rev 5457)
@@ -273,16 +273,15 @@
 req = raw_string(0x00, 0x00, 0x04, 0xc6) + req;
 send(socket:soc, data:req);
 resp = smb_recv(socket:soc, length:4096);
-if(resp) {
-  if(ord(resp[5]) == 83 && ord(resp[6]) == 77 && ord(resp[7]) == 66)
-  {
-    close(soc);
-    exit(0);
-  }
-  else
-  {
-    security_note(data:string("Windows Server service has crashed on the system.\n" +
-                  "Restart the service to resume normal operations."), port:port);
-    security_hole(port);
-  }
-}  
+
+if(resp && ord(resp[5]) == 83 && ord(resp[6]) == 77 && ord(resp[7]) == 66)
+{
+  close(soc);
+  exit(0);
+}
+else
+{
+  security_note(data:string("Windows Server service has crashed on the system.\n" +
+                "Restart the service to resume normal operations."), port:port);
+  security_hole(port);
+}



More information about the Openvas-commits mailing list