This section explains how to use the qq smb_list_share command.

For more information, see:

Examples

To View Existing SMB Share Host Restrictions

Run the qq smb_list_share command and specify the share ID. For example:

qq smb_list_share --id 4

The following is example output.

ID: 4
Name: share2
Path: /
Description:
Access Based Enumeration: False
Encryption Required: False
Default File Create Mode: 0644
Default Directory Create Mode: 0755

Permissions:
ID Trustee  Type    Rights 
== ======== ======= ===============================
1  Everyone Allowed Read, Write, Change permissions

Network Permissions:
ID Trustee        Type    Rights 
== ============== ======= ===============================
1  203.0.113.0/24 Allowed Read, Write, Change permissions

Description

List a share

Usage

qq smb_list_share [-h] (--id ID | --name NAME) [--tenant-id TENANT_ID] [--json]

Flags

Flag Name Required Description
--id No ID of share to list.
--name No Name of share to list.
--tenant-id No ID of the tenant to get the share from. Only used if using the --name argument.
--json No Print the raw JSON response.