Hi, get_kb_item() and get_kb_list can be used to retrieve the value of KB items. But how to get both the KB item name and value? What I want to do is writing a nasl to query the KB and get a list of all the open ports. I use get_kb_list("Ports/*") But only the value of the kb items are returned, i.e. I only got a list of '1's. Alternatively, I can write a for loop to query every port, but is there a more efficient way to do this? Thanks, -Lei _______________________________________________ Plugins-writers mailing list Plugins-writers@private http://mail.nessus.org/mailman/listinfo/plugins-writers
This archive was generated by hypermail 2.1.3 : Wed Mar 23 2005 - 05:04:17 PST