[Openvas-commits] r5575 - in trunk/openvas-plugins: . scripts
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 16 13:09:58 CEST 2009
Author: schandan
Date: 2009-10-16 13:09:54 +0200 (Fri, 16 Oct 2009)
New Revision: 5575
Modified:
trunk/openvas-plugins/ChangeLog
trunk/openvas-plugins/scripts/secpod_ms09-050-remote.nasl
Log:
Updated ms09-050 remote patch check ord values.
Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog 2009-10-16 09:41:15 UTC (rev 5574)
+++ trunk/openvas-plugins/ChangeLog 2009-10-16 11:09:54 UTC (rev 5575)
@@ -1,3 +1,8 @@
+2009-10-16 Chandan S <schandan at secpod.com>
+
+ * scripts/secpod_ms09-050-remote.nasl:
+ Updated remote patch check ord values.
+
2009-10-15 Michael Meyer <michael.meyer at intevation.de>
* plugins_current.txt:
Modified: trunk/openvas-plugins/scripts/secpod_ms09-050-remote.nasl
===================================================================
--- trunk/openvas-plugins/scripts/secpod_ms09-050-remote.nasl 2009-10-16 09:41:15 UTC (rev 5574)
+++ trunk/openvas-plugins/scripts/secpod_ms09-050-remote.nasl 2009-10-16 11:09:54 UTC (rev 5575)
@@ -103,9 +103,10 @@
# '0xff' -> SMBv1 - Windows XP Profesional, Version 202, SP3
# '0xff' -> SMBv1 - Samba 3.0.33
# '0xfe' -> SMBv2 - Windows Server at enterprise (2008), SP
+# After applying patch, strlen(resp) is > 77
-if(ord(resp[4]) == 254 && ord(resp[5]) == 83 && ord(resp[6]) == 77 && ord(resp[7]) == 66 && ord(resp[8]) == 114)
-{
+if(ord(resp[4]) == 255 && ord(resp[5]) == 83 && ord(resp[6]) == 77 && ord(resp[7]) == 66 &&
+ ord(resp[8]) == 114 && strlen(resp) == 77){
security_hole(port);
}
close(soc);
More information about the Openvas-commits
mailing list