Dear all, I spent hours on this problem and I still can't figure it out. What I'm trying to do is to query remote registry value of a Windows 7 machine using nasl wmi functions.
The registry can be queried by a VB script, meaning that the configuration of target machine has no problem. I attached a sample script you can try with. Run the script by: openvas-nasl -t 192.168.2.2 -X wmi_reg_test.nasl The output: User Name : username Passwd : password Host : 192.168.2.2 wmi version info: 0.0.1 Connected to host with handle 28859584 nasl_wmi_reg_get_dword_val: WMI query failed Environment: Ubuntu 12.10 (GNU/Linux 3.5.0-39-generic x86_64) Openvas Libraries 6.0.0 wmi-1.3.14 target machine: Windows 7 Professional Please help me out. Thank you very much!! *--* *Yanjin Ding*
_______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel