OpenVAS Scanner 23.23.1
nasl_smb.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Greenbone AG
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
12
13#ifndef NASL_NASL_SMB_H
14#define NASL_NASL_SMB_H
15
16/* for lex_ctxt */
17#include "nasl_lex_ctxt.h"
18
19/* for tree_cell */
20#include "nasl_tree.h"
21
38
39#endif
struct struct_lex_ctxt lex_ctxt
tree_cell * nasl_smb_file_owner_sid(lex_ctxt *lexic)
Obtain File Owner SID.
Definition nasl_smb.c:206
tree_cell * nasl_smb_file_SDDL(lex_ctxt *lexic)
Obtain Security Descriptor in SDDL format.
Definition nasl_smb.c:163
tree_cell * nasl_smb_file_trustee_rights(lex_ctxt *lexic)
Obtain File Trustee SID with Access Mask.
Definition nasl_smb.c:292
tree_cell * nasl_smb_versioninfo(lex_ctxt *lexic)
Get a version string of the SMB implementation.
Definition nasl_smb.c:50
tree_cell * nasl_smb_close(lex_ctxt *lexic)
Close SMB service handle.
Definition nasl_smb.c:133
tree_cell * nasl_smb_connect(lex_ctxt *lexic)
Connect to SMB service and return a handle for it.
Definition nasl_smb.c:78
tree_cell * nasl_smb_file_group_sid(lex_ctxt *lexic)
Obtain File Group SID.
Definition nasl_smb.c:249
tree_cell * nasl_win_cmd_exec(lex_ctxt *lexic)
Execute the command in windows.
Definition nasl_smb.c:337
struct TC tree_cell