Skip to main content

Module legacy

Module legacy 

Source
Expand description

Core/LANMAN-era path commands ([MS-CIFS]): MKDIR, RMDIR, CHECK_DIRECTORY, DELETE, RENAME, QUERY_INFORMATION and SET_INFORMATION.

Structs§

QueryInfoResp
QUERY_INFORMATION (0x08) response: attributes, DOS write time, size.

Functions§

dos_time_to_unix
Parse a legacy DOS-encoded UTC time into Unix seconds ([MS-DTYP] DOSDATE/TIME packing used by core protocol fields).
read_path
Read one NUL-terminated path string from the command’s data area, honouring the Unicode flag and BufferFormat 0x04 prefixes.
read_two_paths
Read the two NUL-terminated strings of a RENAME request.