Thank you for your quick reply. I removed CMakeCache.txt as you said, it
said "found wmiclient, version 1.3.14", then I recompiled openvas library
6.0.0 and install it into /usr/local/. But the problem remains......

Some observations:
1) If I use function "wmi_versioninfo", it prints "0.0.1", is it fine?
2) I can use function "wmi_query" successfully, I believe it means wmi is
installed successfully.
3) Only those functions related to querying registries don't work, does it
mean I need to do other configurations on target machine or linux side?
(ps: querying registry using vb on windows machine is fine.)

*--*
*Yanjin Ding*
*Software Engineer*
*NOPSEC INC.*
*Email: yd...@nopsec.com*
*NopSec helps businesses holistically manage IT security vulnerabilities.
www.nopsec.com*


On Tue, Aug 27, 2013 at 10:30 AM, Veerendra Ganiger
<veerendr...@secpod.com>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Tuesday 27 August 2013 07:21 PM, Yanjin Ding wrote:
> > Hi Veerendra,
> >
> > I followed this document(
> >
> http://code.ohloh.net/file?fid=FUi4Z0R3xgX0oCjcpy4vdQq7eec&cid=MQKpc2gZPvw&fp=371826&mpundefined&projSelected=true#L0
> )
> > step by step.
> >
> > First download the wmi-1.3.14 tar, untar it, apply three patches, then
> > compile the source and run install script. But I didn't specify the
> prefix
> > of installation folder. WMI was installed into /usr/lib/. Then recompile
> > openvas library.
> These steps are proper.
>
> Assuming you installed OpenVAS in default location and default
> installation path for OpenVAS is "/usr/local" hence execute
> "bash install-libwmiclient.sh /usr/local" with proper prefix in wmi
> library.
>
> >
> > While I was recompiling openvas library, I didn't see message "found
> > wmiclient, version=1.3.14" or "package wmiclient >= 1.3.14 not found".
>  I'm
> > not sure whether openvas library found wmi installation or not.
> If OpenVAS can't find wmi library then it will not work.
>
> So to check OpenVAS finds wmi library or not remove "CMakeCache.txt"
> file inside OpenVAS library then recomplie. Now it should say "found
> wmiclient version 1.3.14" or "not found wmiclient"
>
> If OpenVAS didn't find wmiclient you need to adjust the wmiclient
> libraries to point to OpenVAS library path or you can copy
> libwmiclient.so, libwmiclient.so.1 and libwmiclient.so.1.3.14 files from
> wmiclient to "/usr/local/lib" path manually.
>
> This might solve your problem.
>
>
> Thanks!
> Veerendra
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJSHLf/AAoJEFdbOg70fJiaXqwH/1wejQ7tqGBmP5E2tmlTpEA0
> Dc2V/mdKKsmOPY36YjIdAm6z++S7hC3LI4O5itxFiTIV8TNAvDhK0VLZUct+hwf4
> AfcxwEXB3zQc2v2OhMgSYy/hiymHjZWo66HDOfPbvudIUpYSEGORjmP/Ng0h1rF1
> jeGkSiJWwx2hDpGanL9fjL6HCJsI8kpRtzrgC8sMMqt7rKYtfY8Ev3TlXim58ioD
> TPkqVDcfnfD3cq1N4GNEqnohod7AzJgCGsV31FWdJVIbMw1CktPmAENqJe99hVb2
> QCPMr3pC5dfdiIdM/Hq6LxJpxL9VLPy9NY+7dGVQ92A8qmo9+XJvKd934ukbUzU=
> =thl9
> -----END PGP SIGNATURE-----
>
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to