SMB NamespaceΒΆ

Namespace: SMB.

class zlogging.enum.smb.Action(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: SMB::Action.

Abstracted actions for SMB file actions.

FILE_READ = 1
FILE_WRITE = 2
FILE_OPEN = 4
FILE_CLOSE = 8
FILE_DELETE = 16
FILE_RENAME = 32
FILE_SET_ATTRIBUTE = 64
PIPE_READ = 128
PIPE_WRITE = 256
PIPE_OPEN = 512
PIPE_CLOSE = 1024
PRINT_READ = 2048
PRINT_WRITE = 4096
PRINT_OPEN = 8192
PRINT_CLOSE = 16384
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None