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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 6 13:32:00 CEST 2009


Author: chandra
Date: 2009-10-06 13:31:57 +0200 (Tue, 06 Oct 2009)
New Revision: 5402

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/wmi_rsop.inc
Log:
Updated RSOP WQL queries

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-10-06 10:59:30 UTC (rev 5401)
+++ trunk/openvas-plugins/ChangeLog	2009-10-06 11:31:57 UTC (rev 5402)
@@ -1,5 +1,10 @@
 2009-10-06  Chandrashekhar B <bchandra at secpod.com>
 
+	* scripts/wmi_rsop.inc:
+	Updated RSOP WQL queries.
+
+2009-10-06  Chandrashekhar B <bchandra at secpod.com>
+
 	* scripts/gb_ibm_db2_unspesified_vuln_win.nasl,
 	scripts/gb_google_chrome_sec_bypass_vuln_oct09.nasl,
 	scripts/gb_cpcreator_detect.nasl,

Modified: trunk/openvas-plugins/scripts/wmi_rsop.inc
===================================================================
--- trunk/openvas-plugins/scripts/wmi_rsop.inc	2009-10-06 10:59:30 UTC (rev 5401)
+++ trunk/openvas-plugins/scripts/wmi_rsop.inc	2009-10-06 11:31:57 UTC (rev 5402)
@@ -31,7 +31,7 @@
 
 function wmi_rsop_accesstoken(handle)
 {
-  query = 'Select * from RSOP_UserPrivilegeRight';
+  query = 'Select * from RSOP_UserPrivilegeRight where precedence=1';
 
   rsopList = wmi_query_rsop(wmi_handle:handle, query:query);
 
@@ -44,7 +44,7 @@
 
 function wmi_rsop_auditpolicy(handle)
 {
-  query = 'Select * from RSOP_AuditPolicy';
+  query = 'Select * from RSOP_AuditPolicy where precedence=1';
 
   rsopList = wmi_query_rsop(wmi_handle:handle, query:query);
 
@@ -57,7 +57,7 @@
 
 function wmi_rsop_policysetting(handle)
 {
-  query = 'Select * from RSOP_PolicySetting';
+  query = 'Select * from RSOP_PolicySetting where precedence=1';
 
   rsopList = wmi_query_rsop(wmi_handle:handle, query:query);
 
@@ -70,7 +70,7 @@
 
 function wmi_rsop_lockoutpolicy(handle)
 {
-  query = 'Select * from RSOP_SecuritySettingBoolean';
+  query = 'Select * from RSOP_SecuritySettingBoolean where precedence=1';
 
   rsopList = wmi_query_rsop(wmi_handle:handle, query:query);
 
@@ -83,7 +83,7 @@
 
 function wmi_rsop_passwdpolicy(handle)
 {
-  query = 'Select * from RSOP_SecuritySettingNumeric';
+  query = 'Select * from RSOP_SecuritySettingNumeric where precedence=1';
 
   rsopList = wmi_query_rsop(wmi_handle:handle, query:query);
 



More information about the Openvas-commits mailing list