Skip to main content

Module trans2

Module trans2 

Source
Expand description

TRANSACTION2 envelope ([MS-CIFS] §2.2.4.46) and the subcommand extensions defined by [MS-SMB] §2.2.6: FIND_FIRST2 (§2.2.6.1), FIND_NEXT2 (§2.2.6.2), QUERY_FS (§2.2.6.3), QUERY/SET PATH (§2.2.6.5/6), QUERY/SET FILE (§2.2.6.7/8). Information levels per §2.2.8.

Modules§

find_level
Find information levels ([MS-SMB] §2.2.8.1).
level
Information levels for QUERY/SET operations ([MS-SMB] §2.2.8).
subcmd
TRANS2 subcommand codes ([MS-SMB] §2.2.6).

Structs§

Trans2Req
Parsed TRANSACTION2 request envelope: subcommand plus fixed parameters and data sections.

Functions§

read_param_zstring
Read a NUL-terminated string out of the fixed-parameters area at pos, using param_base as parity base.
trans2_resp
Build the WC=10 TRANS2 response with even-aligned Param/Data offsets ([MS-CIFS] §2.2.4.46.2 layout used by every subcommand reply).