Dear all, I'm trying to query registry values that exist on target machine(I checked manually). The function "wmi_connect_reg" succeeded, and return the handle. Then I try to call function "wmi_reg_enum_key", "wmi_reg_get_sz", "wmi_reg_get_dword_val", none of these work. Error message is : WMI query failed. The test script is attached.
I configured the target machine as follows:
1. Turned off firewall
2. Run "wmimgmt.msc" -> WMI control -> properties
enabled "remote enable" for namespace "root", "rsop", "default', "cimv2"
3. Started service "Remote registry"
Environment:
openvas libraries 6.0.0
wmi 1.3.14
target machine os: Windows 7 Professional in a domain
Does anyone know if it's a problem with the wmi functions or target machine
configuration for query registry over wmi? Any help will be very
appreciated.
*--*
*Yanjin Ding*
wmi_reg_test.nasl
Description: Binary data
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
