This section explains how to use the qq smb_list_sessions command.


List SMB open sessions


qq smb_list_sessions [-h] [--page-size PAGE_SIZE] [--identity IDENTITY]


Flag Name Required Description
--page-size No Max sessions to return per request
--identity No List only the sessions that match the specified user's identity in one of the following forms: a name or a SID optionally qualified with a domain prefix (for example, "local:name", "S-1-1-0", "name", "world:Everyone", "ldap_user:name", "ad:name"), or an ID type (for example, "uid:1001", "auth_id:513", "SID:S-1-1-0").