Hi Veerendra! I compiled and installed wmi-1.3.14 on Ubuntu 12.04 32 bits, it works! I never thought the OS bits type would be a problem. Thank you very much for your kind help.
Though my problem solved, I want to remind people who may concern that I still can not make querying registry work on Ubuntu 64 bits machine. Weird. *--* *Yanjin Ding* *Software Engineer* *NOPSEC INC.* *Email: yd...@nopsec.com* *NopSec helps businesses holistically manage IT security vulnerabilities. www.nopsec.com* On Fri, Sep 6, 2013 at 6:06 AM, Veerendra Ganiger <veerendr...@secpod.com>wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Friday 06 September 2013 12:51 AM, Yanjin Ding wrote: > > Hi Veerendra, > > > > Thanks for your reply. I'm still struggling with querying registry > through > > wmi libraries. The wmi libraries compiled following the instructions just > > doesn't work. I guess something is wrong in the wmi library package I > > download. > > > > You mentioned that your environment is Ubuntu 12.04, *could you please > send > > me the wmi library file: libwmiclient.so.1.3.14 on your machine*? Also is > > your Ubuntu 32 bits or 64 bits? It's even better if you can describe how > > you install the wmi libraries, any modifications to the libraries or the > > patches? > > We have OpenVAS 7 on Ubuntu 12.04 LTS 32 bit. > I Have followed the steps given in > openvas-libraries-7.0+beta1/doc/wmi-howto.txt file and have not done any > modification to the libraries or to the patches. > > > Attaching wmi test script and libwmiclient.so.1.3.14 along with this mail. > > > Output : > ======== > openvas-nasl -X wmi_reg_test.nasl -t 192.168.1.230 > > User Name : testuser > Passwd : testpass > Host : 192.168.1.230 > Connected to host with handle 153313040 > > Registry Enum Entries : > > DevicePath|MediaPathUnexpanded|SM_GamesName|SM_ConfigureProgramsName|ProgramFilesDir|ProductId|WallPaperDir|MediaPath|ProgramFilesPath|SM_AccessoriesName|PF_AccessoriesName|SM_ConfigureProgramsExisted|CommonFilesDir > > Registry Get SZ Value : C:\Program Files > > > > Thanks! > Veerendra > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJSKakhAAoJEFdbOg70fJiafogH/j5aCGg79cxuGg/7FYtufzeF > x3E0Ns1rbCQBiSkxWT4dpd2/B4uHD3u+i3IgU7K2XUH8gMma2ZVFawxNMMpOpFhL > vAod1OkVBEgsg87a0A4VHnvBtzczuiwf5eLNjy/s6z7Afk6AEsKApX/yXOP24/Je > dPT/02xB4C/2A5LAtbhtpzaWUdbJ61r863MDFgPksy3r91G1VjCy+5vqdqwxndJb > lilWHy3BmSjzIghPTexLacVQB86D1JdzLQPCj2d0p5GP4iyOHkj/q5kvZOVtmrMo > WhTq9P6TyV6qFrJyJ8i/tQzKI+LomZLOs5sEUzaxU4D9SlRbRy/AqgW0RsLLMhc= > =N6ku > -----END PGP SIGNATURE----- >
_______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel