[Plugins-writers] Fwd: Windows Registry and NASL help

From: mailing lists (thelists@private)
Date: Thu Sep 09 2004 - 07:24:51 PDT


All,

I'm attempting to write a NASL script that queries the Windows
registry (given all of the necessary credentials, of course) and
returns everything found beneath it.  I must admit I'm as novice as
they come with writing in NASL, though I'm no foreigner to programming
in general.  I've attempted to look through the existing scripts
(mostly with grep ;) to find examples of retrieving multiple keys /
results from a registry query to no avail.

To be more precise, this is the key I wish to pull from:
HKLM\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\Descriptions

My goal is to have a list of the network adapters available to the
remote host.  Ultimately I'd like to be able to determine which
interfaces are active with usage statistics, etc. but all I /need/ for
this project is the ability to determine what is available.  (Though,
if anyone knows how to also fetch usage statistics, I'm all ears!)

So, any ideas?  Is this even possible with NASL scripting?  Responses
are definitely welcome to my personal email address or to the list.
Anything would be appreciated!

Thanks,
Bill
_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Thu Sep 09 2004 - 07:32:09 PDT