smb2c
Version:
SMB2 Client from marsaud-smb2 0.7.2
26 lines (19 loc) • 547 B
JavaScript
module.exports = {
request:[
['StructureSize', 2, 33]
, ['FileInformationClass', 1, 0x25] // FileBothDirectoryInformation plus volume file ID about a file or directory.
, ['Flags', 1, 0]
, ['FileIndex', 4, 0]
, ['FileId', 16]
, ['FileNameOffset', 2, 96]
, ['FileNameLength', 2]
, ['OutputBufferLength', 4, 0x00010000]
, ['Buffer', 'FileNameLength']
]
, response:[
['StructureSize', 2]
, ['OutputBufferOffset', 2]
, ['OutputBufferLength', 4]
, ['Buffer', 'OutputBufferLength']
]
}