OpenVAS Libraries
4.0+rc3.SVN
|
Protos for NASL WMI API. More...
#include "nasl_lex_ctxt.h"
#include "nasl_tree.h"
Go to the source code of this file.
Functions | |
tree_cell * | nasl_wmi_versioninfo (lex_ctxt *lexic) |
Get a version string of the WMI implementation. | |
tree_cell * | nasl_wmi_connect (lex_ctxt *lexic) |
Connect to a WMI service and return a handle for it. | |
tree_cell * | nasl_wmi_close (lex_ctxt *lexic) |
Close WMI service handle. | |
tree_cell * | nasl_wmi_query (lex_ctxt *lexic) |
Perform WQL query. | |
tree_cell * | nasl_wmi_connect_rsop (lex_ctxt *lexic) |
Connect to a WMI RSOP service and return a handle for it. | |
tree_cell * | nasl_wmi_query_rsop (lex_ctxt *lexic) |
WMI RSOP query. | |
tree_cell * | nasl_wmi_connect_reg (lex_ctxt *lexic) |
Connect to a WMI Registry service and return a handle for it. | |
tree_cell * | nasl_wmi_reg_get_sz (lex_ctxt *lexic) |
Get string value from Registry. | |
tree_cell * | nasl_wmi_reg_enum_value (lex_ctxt *lexic) |
Enumerate registry values. | |
tree_cell * | nasl_wmi_reg_enum_key (lex_ctxt *lexic) |
Enumerate registry keys. | |
tree_cell * | nasl_wmi_reg_get_bin_val (lex_ctxt *lexic) |
Get registry binary value. | |
tree_cell * | nasl_wmi_reg_get_dword_val (lex_ctxt *lexic) |
Get registry DWORD value. | |
tree_cell * | nasl_wmi_reg_get_ex_string_val (lex_ctxt *lexic) |
Get registry expanded string value. | |
tree_cell * | nasl_wmi_reg_get_mul_string_val (lex_ctxt *lexic) |
Get registry multi valued strings. | |
tree_cell * | nasl_wmi_reg_get_qword_val (lex_ctxt *lexic) |
Get registry QWORD value. |
Protos for NASL WMI API.
This file contains the protos for nasl_wmi.c
tree_cell* nasl_wmi_close | ( | lex_ctxt * | lexic | ) |
Close WMI service handle.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variable "wmi_handle" from the lexical context and closes the respective handle.
tree_cell* nasl_wmi_connect | ( | lex_ctxt * | lexic | ) |
Connect to a WMI service and return a handle for it.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "host", "username", "password" and "ns" from the lexical context, performs and connects to this given WMI service returning a handle for the service as integer.
tree_cell* nasl_wmi_connect_reg | ( | lex_ctxt * | lexic | ) |
Connect to a WMI Registry service and return a handle for it.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "host", "username", "password" from the lexical context, performs and connects to this given WMI service returning a handle for the service as integer.
tree_cell* nasl_wmi_connect_rsop | ( | lex_ctxt * | lexic | ) |
Connect to a WMI RSOP service and return a handle for it.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "host", "username", "password" from the lexical context, performs and connects to this given WMI service returning a handle for the service as integer.
tree_cell* nasl_wmi_query | ( | lex_ctxt * | lexic | ) |
Perform WQL query.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle" and "query" from the lexical context, performs a WMI query on the given handle and returns the result as a string.
tree_cell* nasl_wmi_query_rsop | ( | lex_ctxt * | lexic | ) |
WMI RSOP query.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "query" from the lexical context, performs the RSOP query returning results in string format.
tree_cell* nasl_wmi_reg_enum_key | ( | lex_ctxt * | lexic | ) |
Enumerate registry keys.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "hive", "key" from the lexical context, performs the registry query returning a string value.
tree_cell* nasl_wmi_reg_enum_value | ( | lex_ctxt * | lexic | ) |
Enumerate registry values.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "hive", "key" from the lexical context, performs the registry query returning a string value.
tree_cell* nasl_wmi_reg_get_bin_val | ( | lex_ctxt * | lexic | ) |
Get registry binary value.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "hive", "key", "val_name" from the lexical context, performs the registry operation querying binary value.
tree_cell* nasl_wmi_reg_get_dword_val | ( | lex_ctxt * | lexic | ) |
Get registry DWORD value.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "hive", "key", "val_name" from the lexical context, performs the registry operation querying DWORD value.
tree_cell* nasl_wmi_reg_get_ex_string_val | ( | lex_ctxt * | lexic | ) |
Get registry expanded string value.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "hive", "key", "val_name" from the lexical context, performs the registry operation querying Expanded string value.
tree_cell* nasl_wmi_reg_get_mul_string_val | ( | lex_ctxt * | lexic | ) |
Get registry multi valued strings.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "hive", "key", "val_name" from the lexical context, performs the registry operation querying Expanded string value.
tree_cell* nasl_wmi_reg_get_qword_val | ( | lex_ctxt * | lexic | ) |
Get registry QWORD value.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "hive", "key", "val_name" from the lexical context, performs the registry operation querying Expanded string value.
tree_cell* nasl_wmi_reg_get_sz | ( | lex_ctxt * | lexic | ) |
Get string value from Registry.
[in] | lexic | Lexical context of NASL interpreter. |
Retrieves local variables "wmi_handle", "hive", "key", "key_name" from the lexical context, performs the registry query returning a string value.
tree_cell* nasl_wmi_versioninfo | ( | lex_ctxt * | lexic | ) |
Get a version string of the WMI implementation.
[in] | lexic | Lexical context of NASL interpreter. |