scapy.layers.smb2
SMB (Server Message Block), also known as CIFS - version 2
- class scapy.layers.smb2.FILE_GET_QUOTA_INFORMATION(_pkt, /, *, NextEntryOffset=0, SidLength=None, Sid=b'', pad=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEXTENTRYOFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SIDLENGTH | SID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PAD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FILE_GET_QUOTA_INFORMATIONFILE_GET_QUOTA_INFORMATION fields NextEntryOffset
0SidLength
NoneSid
b''pad
b''
- class scapy.layers.smb2.FILE_ID_BOTH_DIR_INFORMATION(_pkt, /, *, Next=None, FileIndex=0, CreationTime=None, LastAccessTime=None, LastWriteTime=None, ChangeTime=None, AllocationSize=4096, EnfofFile=4096, FileAttributes=<Flag 128 (FILE_ATTRIBUTE_NORMAL)>, FileNameLength=None, EaSize=0, ShortNameLength=0, Reserved1=0, ShortName=b'', Reserved2=0, FileId=0, FileName=b'.\x00')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEXT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEINDEX | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATIONTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LASTACCESSTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LASTWRITETIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANGETIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALLOCATIONSIZE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ENFOFFILE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEATTRIBUTES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILENAMELENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EASIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |SHORTNAMELENGTH| RESERVED1 | SHORTNAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RESERVED2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILENAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FILE_ID_BOTH_DIR_INFORMATIONFILE_ID_BOTH_DIR_INFORMATION fields Next
NoneFileIndex
0CreationTime
NoneLastAccessTime
NoneLastWriteTime
NoneChangeTime
NoneAllocationSize
4096EnfofFile
4096FileAttributes
<Flag 128 (FILE_ATTRIBUTE_NORMAL)>FileNameLength
NoneEaSize
0ShortNameLength
0Reserved1
0ShortName
b''Reserved2
0FileId
0FileName
b'.\x00'
- class scapy.layers.smb2.FileEaInformation(_pkt, /, *, EaSize=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EASIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileEaInformationFileEaInformation fields EaSize
0
- class scapy.layers.smb2.FileFsAttributeInformation(_pkt, /, *, FileSystemAttributes=<Flag 8388623 (FILE_CASE_SENSITIVE_SEARCH+FILE_CASE_PRESERVED_NAMES+FILE_UNICODE_ON_DISK+FILE_PERSISTENT_ACLS+FILE_SUPPORTS_EXTENDED_ATTRIBUTES)>, MaximumComponentNameLength=255, FileSystemNameLength=None, FileSystemName=b'N\x00T\x00F\x00S\x00')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILESYSTEMATTRIBUTES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXIMUMCOMPONENTNAMELENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILESYSTEMNAMELENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILESYSTEMNAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileFsAttributeInformationFileFsAttributeInformation fields FileSystemAttributes
<Flag 8388623 (FILE_CASE_SENSITIVE_SEARCH+FILE_CASE_PRESERVED_NAMES+FILE_UNICODE_ON_DISK+FILE_PERSISTENT_ACLS+FILE_SUPPORTS_EXTENDED_ATTRIBUTES)>MaximumComponentNameLength
255FileSystemNameLength
NoneFileSystemName
b'N\x00T\x00F\x00S\x00'
- class scapy.layers.smb2.FileFsSizeInformation(_pkt, /, *, TotalAllocationUnits=10485760, AvailableAllocationUnits=1048576, SectorsPerAllocationUnit=8, BytesPerSector=512)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TOTALALLOCATIONUNITS | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AVAILABLEALLOCATIONUNITS | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECTORSPERALLOCATIONUNIT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BYTESPERSECTOR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileFsSizeInformationFileFsSizeInformation fields TotalAllocationUnits
10485760AvailableAllocationUnits
1048576SectorsPerAllocationUnit
8BytesPerSector
512
- class scapy.layers.smb2.FileFsVolumeInformation(_pkt, /, *, VolumeCreationTime=None, VolumeSerialNumber=0, VolumeLabelLength=0, SupportsObjects=1, Reserved=0, VolumeLabel=b'C\x00')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VOLUMECREATIONTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VOLUMESERIALNUMBER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VOLUMELABELLENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |SUPPORTSOBJECTS| RESERVED | VOLUMELABEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileFsVolumeInformationFileFsVolumeInformation fields VolumeCreationTime
NoneVolumeSerialNumber
0VolumeLabelLength
0SupportsObjects
1Reserved
0VolumeLabel
b'C\x00'
- class scapy.layers.smb2.FileIdBothDirectoryInformation(_pkt, /, *, files=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileIdBothDirectoryInformationFileIdBothDirectoryInformation fields files
_NextPacketListField[]
- class scapy.layers.smb2.FileInternalInformation(_pkt, /, *, IndexNumber=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INDEXNUMBER | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileInternalInformationFileInternalInformation fields IndexNumber
0
- class scapy.layers.smb2.FileNetworkOpenInformation(_pkt, /, *, CreationTime=None, LastAccessTime=None, LastWriteTime=None, ChangeTime=None, AllocationSize=4096, EnfofFile=4096, FileAttributes=<Flag 128 (FILE_ATTRIBUTE_NORMAL)>, Reserved2=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATIONTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LASTACCESSTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LASTWRITETIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANGETIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALLOCATIONSIZE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ENFOFFILE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEATTRIBUTES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileNetworkOpenInformationFileNetworkOpenInformation fields CreationTime
NoneLastAccessTime
NoneLastWriteTime
NoneChangeTime
NoneAllocationSize
4096EnfofFile
4096FileAttributes
<Flag 128 (FILE_ATTRIBUTE_NORMAL)>Reserved2
0
- class scapy.layers.smb2.FileStandardInformation(_pkt, /, *, AllocationSize=4096, EndOfFile=0, NumberOfLinks=1, DeletePending=0, Directory=0, Reserved=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALLOCATIONSIZE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ENDOFFILE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NUMBEROFLINKS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DELETEPENDING | DIRECTORY | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileStandardInformationFileStandardInformation fields AllocationSize
4096EndOfFile
0NumberOfLinks
1DeletePending
0Directory
0Reserved
0
- class scapy.layers.smb2.FileStreamInformation(_pkt, /, *, Next=0, StreamNameLength=None, StreamSize=0, StreamAllocationSize=0, StreamName=b':\x00:\x00$\x00D\x00A\x00T\x00A\x00')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEXT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAMNAMELENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAMSIZE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAMALLOCATIONSIZE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAMNAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. FileStreamInformationFileStreamInformation fields Next
0StreamNameLength
NoneStreamSize
0StreamAllocationSize
0StreamName
b':\x00:\x00$\x00D\x00A\x00T\x00A\x00'
- class scapy.layers.smb2.SECURITY_DESCRIPTOR(_pkt, /, *, Revision=1, Sbz1=0, Control=<Flag 0 ()>, OffsetOwner=0, OffsetGroup=0, OffsetSacl=0, OffsetDacl=0, OwnerSid=b'', GroupSid=b'', Sacl=b'', Dacl=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | REVISION | SBZ1 | CONTROL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFFSETOWNER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFFSETGROUP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFFSETSACL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFFSETDACL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OWNERSID | GROUPSID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SACL | DACL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SECURITY_DESCRIPTORSECURITY_DESCRIPTOR fields Revision
1Sbz1
0Control
<Flag 0 ()>OffsetOwner
0OffsetGroup
0OffsetSacl
0OffsetDacl
0OwnerSid
XStrLenField(Cond)b''GroupSid
XStrLenField(Cond)b''Sacl
XStrLenField(Cond)b''Dacl
XStrLenField(Cond)b''
- class scapy.layers.smb2.SMB2_CREATE_ALLOCATION_SIZE(_pkt, /, *, AllocationSize=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALLOCATIONSIZE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_ALLOCATION_SIZESMB2_CREATE_ALLOCATION_SIZE fields AllocationSize
0
- class scapy.layers.smb2.SMB2_CREATE_APP_INSTANCE_ID(_pkt, /, *, StructureSize=20, Reserved=0, AppInstanceId=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | APPINSTANCEID | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_APP_INSTANCE_IDSMB2_CREATE_APP_INSTANCE_ID fields StructureSize
20Reserved
0AppInstanceId
b''
- class scapy.layers.smb2.SMB2_CREATE_APP_INSTANCE_VERSION(_pkt, /, *, StructureSize=24, Reserved=0, Padding=0, AppInstanceVersionHigh=0, AppInstanceVersionLow=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PADDING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | APPINSTANCEVERSIONHIGH | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | APPINSTANCEVERSIONLOW | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_APP_INSTANCE_VERSIONSMB2_CREATE_APP_INSTANCE_VERSION fields StructureSize
24Reserved
0Padding
0AppInstanceVersionHigh
0AppInstanceVersionLow
0
- class scapy.layers.smb2.SMB2_CREATE_DURABLE_HANDLE_RECONNECT(_pkt, /, *, Data=<SMB2_FILEID |>)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_DURABLE_HANDLE_RECONNECTSMB2_CREATE_DURABLE_HANDLE_RECONNECT fields Data
<SMB2_FILEID |>
- class scapy.layers.smb2.SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2(_pkt, /, *, FileId=<SMB2_FILEID |>, CreateGuid=UUID('00000000-0000-0000-0000-000000000000'), Flags=<Flag 0 ()>)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | CREATEGUID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2 fields FileId
<SMB2_FILEID |>CreateGuid
UUID('00000000-0000-0000-0000-000000000000')Flags
<Flag 0 ()>
- class scapy.layers.smb2.SMB2_CREATE_DURABLE_HANDLE_REQUEST(_pkt, /, *, DurableRequest=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DURABLEREQUEST | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_DURABLE_HANDLE_REQUESTSMB2_CREATE_DURABLE_HANDLE_REQUEST fields DurableRequest
b''
- class scapy.layers.smb2.SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2(_pkt, /, *, Timeout=0, Flags=<Flag 0 ()>, Reserved=b'', CreateGuid=UUID('00000000-0000-0000-0000-000000000000'))[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIMEOUT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATEGUID | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 fields Timeout
0Flags
<Flag 0 ()>Reserved
b''CreateGuid
UUID('00000000-0000-0000-0000-000000000000')
- class scapy.layers.smb2.SMB2_CREATE_DURABLE_HANDLE_RESPONSE(_pkt, /, *, Reserved=b'\x00\x00\x00\x00\x00\x00\x00\x00')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_DURABLE_HANDLE_RESPONSESMB2_CREATE_DURABLE_HANDLE_RESPONSE fields Reserved
b'\x00\x00\x00\x00\x00\x00\x00\x00'
- class scapy.layers.smb2.SMB2_CREATE_DURABLE_HANDLE_RESPONSE_V2(_pkt, /, *, Timeout=0, Flags=<Flag 0 ()>)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIMEOUT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_DURABLE_HANDLE_RESPONSE_V2SMB2_CREATE_DURABLE_HANDLE_RESPONSE_V2 fields Timeout
0Flags
<Flag 0 ()>
- class scapy.layers.smb2.SMB2_CREATE_QUERY_MAXIMAL_ACCESS_REQUEST(_pkt, /, *, Timestamp=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIMESTAMP | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_QUERY_MAXIMAL_ACCESS_REQUESTSMB2_CREATE_QUERY_MAXIMAL_ACCESS_REQUEST fields Timestamp
0
- class scapy.layers.smb2.SMB2_CREATE_QUERY_MAXIMAL_ACCESS_RESPONSE(_pkt, /, *, QueryStatus=0, MaximalAccess=<Flag 0 ()>)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | QUERYSTATUS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXIMALACCESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_QUERY_MAXIMAL_ACCESS_RESPONSESMB2_CREATE_QUERY_MAXIMAL_ACCESS_RESPONSE fields QueryStatus
0MaximalAccess
<Flag 0 ()>
- class scapy.layers.smb2.SMB2_CREATE_QUERY_ON_DISK_ID(_pkt, /, *, DiskFileId=0, VolumeId=0, Reserved=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DISKFILEID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VOLUMEID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_QUERY_ON_DISK_IDSMB2_CREATE_QUERY_ON_DISK_ID fields DiskFileId
0VolumeId
0Reserved
b''
- class scapy.layers.smb2.SMB2_CREATE_REQUEST_LEASE(_pkt, /, *, LeaseKey=b'', LeaseState=<Flag 7 (SMB2_LEASE_READ_CACHING+SMB2_LEASE_HANDLE_CACHING+SMB2_LEASE_WRITE_CACHING)>, LeaseFlags=<Flag 0 ()>, LeaseDuration=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEKEY | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASESTATE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEDURATION | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_REQUEST_LEASESMB2_CREATE_REQUEST_LEASE fields LeaseKey
b''LeaseState
<Flag 7 (SMB2_LEASE_READ_CACHING+SMB2_LEASE_HANDLE_CACHING+SMB2_LEASE_WRITE_CACHING)>LeaseFlags
<Flag 0 ()>LeaseDuration
0
- class scapy.layers.smb2.SMB2_CREATE_REQUEST_LEASE_V2(_pkt, /, *, LeaseKey=b'', LeaseState=<Flag 7 (SMB2_LEASE_READ_CACHING+SMB2_LEASE_HANDLE_CACHING+SMB2_LEASE_WRITE_CACHING)>, LeaseFlags=<Flag 0 ()>, LeaseDuration=0, ParentLeaseKey=b'', Epoch=0, Reserved=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEKEY | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASESTATE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEDURATION | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARENTLEASEKEY | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EPOCH | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_REQUEST_LEASE_V2SMB2_CREATE_REQUEST_LEASE_V2 fields LeaseKey
b''LeaseState
<Flag 7 (SMB2_LEASE_READ_CACHING+SMB2_LEASE_HANDLE_CACHING+SMB2_LEASE_WRITE_CACHING)>LeaseFlags
<Flag 0 ()>LeaseDuration
0ParentLeaseKey
b''Epoch
0Reserved
0
- class scapy.layers.smb2.SMB2_CREATE_RESPONSE_LEASE(_pkt, /, *, LeaseKey=b'', LeaseState=<Flag 7 (SMB2_LEASE_READ_CACHING+SMB2_LEASE_HANDLE_CACHING+SMB2_LEASE_WRITE_CACHING)>, LeaseFlags=<Flag 0 ()>, LeaseDuration=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEKEY | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASESTATE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEDURATION | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_RESPONSE_LEASESMB2_CREATE_RESPONSE_LEASE fields LeaseKey
b''LeaseState
<Flag 7 (SMB2_LEASE_READ_CACHING+SMB2_LEASE_HANDLE_CACHING+SMB2_LEASE_WRITE_CACHING)>LeaseFlags
<Flag 0 ()>LeaseDuration
0
- class scapy.layers.smb2.SMB2_CREATE_RESPONSE_LEASE_V2(_pkt, /, *, LeaseKey=b'', LeaseState=<Flag 7 (SMB2_LEASE_READ_CACHING+SMB2_LEASE_HANDLE_CACHING+SMB2_LEASE_WRITE_CACHING)>, LeaseFlags=<Flag 0 ()>, LeaseDuration=0, ParentLeaseKey=b'', Epoch=0, Reserved=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEKEY | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASESTATE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASEDURATION | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARENTLEASEKEY | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EPOCH | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_RESPONSE_LEASE_V2SMB2_CREATE_RESPONSE_LEASE_V2 fields LeaseKey
b''LeaseState
<Flag 7 (SMB2_LEASE_READ_CACHING+SMB2_LEASE_HANDLE_CACHING+SMB2_LEASE_WRITE_CACHING)>LeaseFlags
<Flag 0 ()>LeaseDuration
0ParentLeaseKey
b''Epoch
0Reserved
0
- class scapy.layers.smb2.SMB2_CREATE_TIMEWARP_TOKEN(_pkt, /, *, Timestamp=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIMESTAMP | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_CREATE_TIMEWARP_TOKENSMB2_CREATE_TIMEWARP_TOKEN fields Timestamp
0
- class scapy.layers.smb2.SMB2_Cancel_Request(_pkt, /, *, StructureSize=4, Reserved=0)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Cancel_RequestSMB2_Cancel_Request fields StructureSize
4Reserved
0
- class scapy.layers.smb2.SMB2_Change_Notify_Request(_pkt, /, *, StructureSize=32, Flags=<Flag 0 ()>, OutputBufferLength=2048, FileId=<SMB2_FILEID |>, CompletionFilter=<Flag 0 ()>, Reserved=0)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUTPUTBUFFERLENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | COMPLETIONFILTER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Change_Notify_RequestSMB2_Change_Notify_Request fields StructureSize
32Flags
<Flag 0 ()>OutputBufferLength
2048FileId
<SMB2_FILEID |>CompletionFilter
<Flag 0 ()>Reserved
0
- class scapy.layers.smb2.SMB2_Change_Notify_Response(_pkt, /, *, StructureSize=9, OutputBufferOffset=None, OutputLen=None, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 72
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | OUTPUTBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUTPUTLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Change_Notify_ResponseSMB2_Change_Notify_Response fields StructureSize
9OutputBufferOffset
NoneOutputLen
NoneBuffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Close_Request(_pkt, /, *, StructureSize=24, Flags=<Flag 0 ()>, Reserved=0, FileId=<SMB2_FILEID |>)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Close_RequestSMB2_Close_Request fields StructureSize
24Flags
<Flag 0 ()>Reserved
0FileId
<SMB2_FILEID |>
- class scapy.layers.smb2.SMB2_Close_Response(_pkt, /, *, StructureSize=60, Flags=<Flag 0 ()>, Reserved=0, CreationTime=0, LastAccessTime=0, LastWriteTime=0, ChangeTime=0, AllocationSize=4096, EnfofFile=4096, FileAttributes=0)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATIONTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LASTACCESSTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LASTWRITETIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANGETIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALLOCATIONSIZE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ENFOFFILE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEATTRIBUTES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Close_ResponseSMB2_Close_Response fields StructureSize
60Flags
<Flag 0 ()>Reserved
0CreationTime
0LastAccessTime
0LastWriteTime
0ChangeTime
0AllocationSize
4096EnfofFile
4096FileAttributes
0
- class scapy.layers.smb2.SMB2_Compression_Capabilities(_pkt, /, *, CompressionAlgorithmCount=0, Padding=0, Flags=0, CompressionAlgorithms=[])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | COMPRESSIONALGORITHMCOUNT | PADDING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | COMPRESSIONALGORITHMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Compression_CapabilitiesSMB2_Compression_Capabilities fields CompressionAlgorithmCount
0Padding
0Flags
0CompressionAlgorithms
[]
- class scapy.layers.smb2.SMB2_Compression_Transform_Header(_pkt, /, *, Start=b'\xfcSMB', OriginalCompressedSegmentSize=0, CompressionAlgorithm=0, Flags=0, Offset_or_Length=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | START | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ORIGINALCOMPRESSEDSEGMENTSIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | COMPRESSIONALGORITHM | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFFSET OR LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Compression_Transform_HeaderSMB2_Compression_Transform_Header fields Start
b'\xfcSMB'OriginalCompressedSegmentSize
0CompressionAlgorithm
0Flags
0Offset_or_Length
0
- class scapy.layers.smb2.SMB2_Create_Context(_pkt, /, *, Next=None, NameBufferOffset=None, NameLen=None, Reserved=0, DataBufferOffset=None, DataLen=None, Buffer=[], pad=b'')[源代码]
基类:
_NTLMPayloadPacket- OFFSET = 14
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEXT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NAMEBUFFEROFFSET | NAMELEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED | DATABUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATALEN | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PAD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Create_ContextSMB2_Create_Context fields Next
NoneNameBufferOffset
NoneNameLen
NoneReserved
0DataBufferOffset
NoneDataLen
NoneBuffer
_NTLMPayloadField[]pad
b''
- class scapy.layers.smb2.SMB2_Create_Request(_pkt, /, *, StructureSize=57, ShareType=0, RequestedOplockLevel=0, ImpersonationLevel=0, SmbCreateFlags=0, Reserved=0, DesiredAccess=<Flag 0 ()>, FileAttributes=<Flag 128 (FILE_ATTRIBUTE_NORMAL)>, ShareAccess=<Flag 0 ()>, CreateDisposition=1, CreateOptions=<Flag 0 ()>, NameBufferOffset=None, NameLen=None, CreateContextsBufferOffset=None, CreateContextsLen=None, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 120
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | SHARETYPE |REQUESTEDOPLOCK| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IMPERSONATIONLEVEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SMBCREATEFLAGS | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DESIREDACCESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEATTRIBUTES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SHAREACCESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATEDISPOSITION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATEOPTIONS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NAMEBUFFEROFFSET | NAMELEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATECONTEXTSBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATECONTEXTSLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Create_RequestSMB2_Create_Request fields StructureSize
57ShareType
0RequestedOplockLevel
0ImpersonationLevel
0SmbCreateFlags
0Reserved
0DesiredAccess
<Flag 0 ()>FileAttributes
<Flag 128 (FILE_ATTRIBUTE_NORMAL)>ShareAccess
<Flag 0 ()>CreateDisposition
1CreateOptions
<Flag 0 ()>NameBufferOffset
NoneNameLen
NoneCreateContextsBufferOffset
NoneCreateContextsLen
NoneBuffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Create_Response(_pkt, /, *, StructureSize=89, OplockLevel=0, Flags=<Flag 0 ()>, CreateAction=1, CreationTime=None, LastAccessTime=None, LastWriteTime=None, ChangeTime=None, AllocationSize=4096, EnfofFile=4096, FileAttributes=<Flag 128 (FILE_ATTRIBUTE_NORMAL)>, Reserved2=0, FileId=<SMB2_FILEID |>, CreateContextsBufferOffset=None, CreateContextsLen=None, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 152
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | OPLOCKLEVEL | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATEACTION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CREATIONTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LASTACCESSTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LASTWRITETIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANGETIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALLOCATIONSIZE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ENFOFFILE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEATTRIBUTES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | CREATECONTEXTSBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | CREATECONTEXTSLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Create_ResponseSMB2_Create_Response fields StructureSize
89OplockLevel
0Flags
<Flag 0 ()>CreateAction
1CreationTime
NoneLastAccessTime
NoneLastWriteTime
NoneChangeTime
NoneAllocationSize
4096EnfofFile
4096FileAttributes
<Flag 128 (FILE_ATTRIBUTE_NORMAL)>Reserved2
0FileId
<SMB2_FILEID |>CreateContextsBufferOffset
NoneCreateContextsLen
NoneBuffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Encryption_Capabilities(_pkt, /, *, CipherCount=1, Ciphers=[1])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CIPHERCOUNT | CIPHERS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Encryption_CapabilitiesSMB2_Encryption_Capabilities fields CipherCount
1Ciphers
[1]
- class scapy.layers.smb2.SMB2_Error_Response(_pkt, /, *, StructureSize=9, ErrorContextCount=0, Reserved=0, ByteCount=None, ErrorData=b'')[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE |ERRORCONTEXTCOU| RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BYTECOUNT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ERRORDATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Error_ResponseSMB2_Error_Response fields StructureSize
9ErrorContextCount
0Reserved
0ByteCount
NoneErrorData
b''
- class scapy.layers.smb2.SMB2_FILEID(_pkt, /, *, Persistent=0, Volatile=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PERSISTENT | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VOLATILE | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_FILEIDSMB2_FILEID fields Persistent
0Volatile
0
- class scapy.layers.smb2.SMB2_Header(_pkt, /, *, Start=b'\xfeSMB', StructureSize=64, CreditCharge=0, Status=0, Command=0, CreditsRequested=0, Flags=<Flag 0 ()>, NextCommand=0, MID=0, AsyncId=0, PID=0, TID=0, SessionId=0, SecuritySignature=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | START | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | CREDITCHARGE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STATUS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | COMMAND | CREDITSREQUESTED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEXTCOMMAND | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ASYNCID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SESSIONID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECURITYSIGNATURE | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_HeaderSMB2_Header fields Start
b'\xfeSMB'StructureSize
64CreditCharge
0Status
0Command
0CreditsRequested
0Flags
<Flag 0 ()>NextCommand
0MID
0AsyncId
LELongField(Cond)0PID
LEIntField(Cond)0TID
LEIntField(Cond)0SessionId
0SecuritySignature
0
- class scapy.layers.smb2.SMB2_IOCTL_Request(_pkt, /, *, StructureSize=57, Reserved=0, CtlCode=0, FileId=<SMB2_FILEID |>, InputBufferOffset=None, InputLen=None, MaxInputResponse=0, OutputBufferOffset=None, OutputLen=None, MaxOutputResponse=0, Flags=<Flag 0 ()>, Reserved2=0, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 120
- aliastypes
- deprecated_fields: Dict[str, Tuple[str, str]] = {'IntputCount': ('InputLen', 'alias'), 'OutputCount': ('OutputLen', 'alias')}
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTLCODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | INPUTBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | INPUTLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | MAXINPUTRESPONSE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | OUTPUTBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | OUTPUTLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | MAXOUTPUTRESPONSE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RESERVED2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_IOCTL_RequestSMB2_IOCTL_Request fields StructureSize
57Reserved
0CtlCode
0FileId
<SMB2_FILEID |>InputBufferOffset
NoneInputLen
NoneMaxInputResponse
0OutputBufferOffset
NoneOutputLen
NoneMaxOutputResponse
0Flags
<Flag 0 ()>Reserved2
0Buffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_IOCTL_Response(_pkt, /, *, StructureSize=49, Reserved=0, CtlCode=0, FileId=<SMB2_FILEID |>, InputBufferOffset=None, InputLen=None, OutputBufferOffset=None, OutputLen=None, Flags=<Flag 0 ()>, Reserved2=0, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 112
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTLCODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | INPUTBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | INPUTLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | OUTPUTBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | OUTPUTLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RESERVED2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_IOCTL_ResponseSMB2_IOCTL_Response fields StructureSize
49Reserved
0CtlCode
0FileId
<SMB2_FILEID |>InputBufferOffset
NoneInputLen
NoneOutputBufferOffset
NoneOutputLen
NoneFlags
<Flag 0 ()>Reserved2
0Buffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_IOCTL_Validate_Negotiate_Info_Request(_pkt, /, *, Capabilities=<Flag 0 ()>, ClientGUID=UUID('00000000-0000-0000-0000-000000000000'), SecurityMode=<Flag 0 ()>, DialectCount=None, Dialects=[514])[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CLIENTGUID | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECURITYMODE | DIALECTCOUNT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DIALECTS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_IOCTL_Validate_Negotiate_Info_RequestSMB2_IOCTL_Validate_Negotiate_Info_Request fields Capabilities
<Flag 0 ()>ClientGUID
UUID('00000000-0000-0000-0000-000000000000')SecurityMode
<Flag 0 ()>DialectCount
NoneDialects
[514]
- class scapy.layers.smb2.SMB2_IOCTL_Validate_Negotiate_Info_Response(_pkt, /, *, Capabilities=<Flag 0 ()>, GUID=UUID('00000000-0000-0000-0000-000000000000'), SecurityMode=<Flag 0 ()>, DialectRevision=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GUID | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECURITYMODE | DIALECTREVISION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_IOCTL_Validate_Negotiate_Info_ResponseSMB2_IOCTL_Validate_Negotiate_Info_Response fields Capabilities
<Flag 0 ()>GUID
UUID('00000000-0000-0000-0000-000000000000')SecurityMode
<Flag 0 ()>DialectRevision
0
- class scapy.layers.smb2.SMB2_Negotiate_Context(_pkt, /, *, ContextType=0, DataLength=0, Reserved=0)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CONTEXTTYPE | DATALENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Negotiate_ContextSMB2_Negotiate_Context fields ContextType
0DataLength
0Reserved
0
- payload_guess
Possible sublayers:
SMB2_Compression_Capabilities,SMB2_Encryption_Capabilities,SMB2_Netname_Negotiate_Context_ID,SMB2_Preauth_Integrity_Capabilities,SMB2_Transport_Capabilities
- class scapy.layers.smb2.SMB2_Negotiate_Protocol_Request(_pkt, /, *, StructureSize=36, DialectCount=None, SecurityMode=<Flag 0 ()>, Reserved=0, Capabilities=<Flag 0 ()>, ClientGUID=UUID('00000000-0000-0000-0000-000000000000'), NegotiateContextOffset=0, NegotiateCount=None, Reserved2=0, Dialects=[514], NegotiateContexts=[])[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | DIALECTCOUNT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECURITYMODE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CLIENTGUID | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEGOTIATECONTEXTOFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEGOTIATECOUNT | RESERVED2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DIALECTS | NEGOTIATECONTEXTS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Negotiate_Protocol_RequestSMB2_Negotiate_Protocol_Request fields StructureSize
36DialectCount
NoneSecurityMode
<Flag 0 ()>Reserved
0Capabilities
<Flag 0 ()>ClientGUID
UUID('00000000-0000-0000-0000-000000000000')NegotiateContextOffset
0NegotiateCount
NoneReserved2
0Dialects
[514]NegotiateContexts
FieldListField(Cond)[]
- class scapy.layers.smb2.SMB2_Negotiate_Protocol_Response(_pkt, /, *, StructureSize=65, SecurityMode=<Flag 0 ()>, DialectRevision=0, NegotiateCount=None, GUID=UUID('00000000-0000-0000-0000-000000000000'), Capabilities=<Flag 0 ()>, MaxTransactionSize=65536, MaxReadSize=65536, MaxWriteSize=65536, ServerTime=None, ServerStartTime=None, SecurityBlobOffset=None, SecurityBlobLength=None, NegotiateContextOffset=0, SecurityBlobPad=b'', SecurityBlob=None, NegotiateContexts=[])[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | SECURITYMODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DIALECTREVISION | NEGOTIATECOUNT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GUID | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXTRANSACTIONSIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXREADSIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXWRITESIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SERVERTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SERVERSTARTTIME | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECURITYBLOBOFFSET | SECURITYBLOBLENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEGOTIATECONTEXTOFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECURITYBLOBPAD | SECURITYBLOB | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEGOTIATECONTEXTS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Negotiate_Protocol_ResponseSMB2_Negotiate_Protocol_Response fields StructureSize
65SecurityMode
<Flag 0 ()>DialectRevision
0NegotiateCount
NoneGUID
UUID('00000000-0000-0000-0000-000000000000')Capabilities
<Flag 0 ()>MaxTransactionSize
65536MaxReadSize
65536MaxWriteSize
65536ServerTime
NoneServerStartTime
NoneSecurityBlobOffset
NoneSecurityBlobLength
NoneNegotiateContextOffset
0SecurityBlobPad
b''SecurityBlob
NoneNegotiateContexts
FieldListField(Cond)[]
- class scapy.layers.smb2.SMB2_Netname_Negotiate_Context_ID(_pkt, /, *, NetName=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NETNAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Netname_Negotiate_Context_IDSMB2_Netname_Negotiate_Context_ID fields NetName
b''
- class scapy.layers.smb2.SMB2_Preauth_Integrity_Capabilities(_pkt, /, *, HashAlgorithmCount=1, SaltLength=0, HashAlgorithms=[1], Salt=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HASHALGORITHMCOUNT | SALTLENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HASHALGORITHMS | SALT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Preauth_Integrity_CapabilitiesSMB2_Preauth_Integrity_Capabilities fields HashAlgorithmCount
1SaltLength
0HashAlgorithms
[1]Salt
b''
- class scapy.layers.smb2.SMB2_Query_Directory_Request(_pkt, /, *, StructureSize=33, FileInformationClass=1, Flags=<Flag 0 ()>, FileIndex=0, FileId=<SMB2_FILEID |>, FileNameBufferOffset=None, FileNameLen=None, OutputBufferLength=2048, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 96
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE |FILEINFORMATION| FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEINDEX | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | FILENAMEBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILENAMELEN | OUTPUTBUFFERLENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Query_Directory_RequestSMB2_Query_Directory_Request fields StructureSize
33FileInformationClass
1Flags
<Flag 0 ()>FileIndex
0FileId
<SMB2_FILEID |>FileNameBufferOffset
NoneFileNameLen
NoneOutputBufferLength
2048Buffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Query_Directory_Response(_pkt, /, *, StructureSize=9, OutputBufferOffset=None, OutputLen=None, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 72
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | OUTPUTBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUTPUTLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Query_Directory_ResponseSMB2_Query_Directory_Response fields StructureSize
9OutputBufferOffset
NoneOutputLen
NoneBuffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Query_Info_Request(_pkt, /, *, StructureSize=41, InfoType=0, FileInfoClass=0, OutputBufferLength=0, InputBufferOffset=None, InputLen=None, AdditionalInformation=<Flag 0 ()>, Flags=<Flag 0 ()>, FileId=<SMB2_FILEID |>, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 104
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | INFOTYPE | FILEINFOCLASS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUTPUTBUFFERLENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INPUTBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INPUTLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDITIONALINFORMATION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Query_Info_RequestSMB2_Query_Info_Request fields StructureSize
41InfoType
0FileInfoClass
0OutputBufferLength
0InputBufferOffset
NoneInputLen
NoneAdditionalInformation
<Flag 0 ()>Flags
<Flag 0 ()>FileId
<SMB2_FILEID |>Buffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Query_Info_Response(_pkt, /, *, StructureSize=9, OutputBufferOffset=None, OutputLen=None, Buffer=[])[源代码]
基类:
_SMB2_Payload- OFFSET = 72
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | OUTPUTBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUTPUTLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Query_Info_ResponseSMB2_Query_Info_Response fields StructureSize
9OutputBufferOffset
NoneOutputLen
NoneBuffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Query_Quota_Info(_pkt, /, *, ReturnSingle=0, ReturnBoolean=0, Reserved=0, SidListLength=0, StartSidLength=0, StartSidOffset=0, pad=b'', SidBuffer=None)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RETURNSINGLE | RETURNBOOLEAN | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SIDLISTLENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STARTSIDLENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STARTSIDOFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PAD |SIDBUFFE| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Query_Quota_InfoSMB2_Query_Quota_Info fields ReturnSingle
0ReturnBoolean
0Reserved
0SidListLength
0StartSidLength
0StartSidOffset
0pad
b''SidBuffer
MultipleTypeField(PacketListField, StrLenField, StrFixedLenField)b''
- class scapy.layers.smb2.SMB2_Read_Request(_pkt, /, *, StructureSize=49, Padding=0, Flags=<Flag 0 ()>, Length=0, Offset=0, FileId=<SMB2_FILEID |>, MinimumCount=0, Channel=0, RemainingBytes=0, ReadChannelInfoBufferOffset=None, ReadChannelInfoLen=None, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 112
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | PADDING | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFFSET | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | MINIMUMCOUNT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | CHANNEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | REMAININGBYTES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | READCHANNELINFOBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | READCHANNELINFOLEN | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Read_RequestSMB2_Read_Request fields StructureSize
49Padding
0Flags
<Flag 0 ()>Length
0Offset
0FileId
<SMB2_FILEID |>MinimumCount
0Channel
0RemainingBytes
0ReadChannelInfoBufferOffset
NoneReadChannelInfoLen
NoneBuffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Read_Response(_pkt, /, *, StructureSize=17, DataBufferOffset=None, DataLen=None, DataRemaining=0, Flags=<Flag 0 ()>, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 80
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | DATABUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATALEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATAREMAINING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Read_ResponseSMB2_Read_Response fields StructureSize
17DataBufferOffset
NoneDataLen
NoneDataRemaining
0Flags
<Flag 0 ()>Buffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Session_Logoff_Request(_pkt, /, *, StructureSize=4, reserved=0)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Session_Logoff_RequestSMB2_Session_Logoff_Request fields StructureSize
4reserved
0
- class scapy.layers.smb2.SMB2_Session_Logoff_Response(_pkt, /, *, StructureSize=4, reserved=0)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Session_Logoff_ResponseSMB2_Session_Logoff_Response fields StructureSize
4reserved
0
- class scapy.layers.smb2.SMB2_Session_Setup_Request(_pkt, /, *, StructureSize=25, Flags=<Flag 0 ()>, SecurityMode=<Flag 0 ()>, Capabilities=<Flag 0 ()>, Channel=0, SecurityBufferOffset=None, SecurityLen=None, PreviousSessionId=0, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 88
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | FLAGS | SECURITYMODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECURITYBUFFEROFFSET | SECURITYLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PREVIOUSSESSIONID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Session_Setup_RequestSMB2_Session_Setup_Request fields StructureSize
25Flags
<Flag 0 ()>SecurityMode
<Flag 0 ()>Capabilities
<Flag 0 ()>Channel
0SecurityBufferOffset
NoneSecurityLen
NonePreviousSessionId
0Buffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Session_Setup_Response(_pkt, /, *, StructureSize=9, SessionFlags=<Flag 0 ()>, SecurityBufferOffset=None, SecurityLen=None, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 72
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | SESSIONFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SECURITYBUFFEROFFSET | SECURITYLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Session_Setup_ResponseSMB2_Session_Setup_Response fields StructureSize
9SessionFlags
<Flag 0 ()>SecurityBufferOffset
NoneSecurityLen
NoneBuffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Transport_Capabilities(_pkt, /, *, Flags=<Flag 0 ()>)[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Transport_CapabilitiesSMB2_Transport_Capabilities fields Flags
<Flag 0 ()>
- class scapy.layers.smb2.SMB2_Tree_Connect_Request(_pkt, /, *, StructureSize=9, Flags=<Flag 0 ()>, PathBufferOffset=None, PathLen=None, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 72
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PATHBUFFEROFFSET | PATHLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Tree_Connect_RequestSMB2_Tree_Connect_Request fields StructureSize
9Flags
<Flag 0 ()>PathBufferOffset
NonePathLen
NoneBuffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Tree_Connect_Response(_pkt, /, *, StructureSize=16, ShareType=0, Reserved=0, ShareFlags=<Flag 48 (AUTO_CACHING+NO_CACHING)>, Capabilities=<Flag 0 ()>, MaximalAccess=<Flag 0 ()>)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | SHARETYPE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SHAREFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXIMALACCESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Tree_Connect_ResponseSMB2_Tree_Connect_Response fields StructureSize
16ShareType
0Reserved
0ShareFlags
<Flag 48 (AUTO_CACHING+NO_CACHING)>Capabilities
<Flag 0 ()>MaximalAccess
<Flag 0 ()>
- class scapy.layers.smb2.SMB2_Tree_Disconnect_Request(_pkt, /, *, StructureSize=4, Reserved=0)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Tree_Disconnect_RequestSMB2_Tree_Disconnect_Request fields StructureSize
4Reserved
0
- class scapy.layers.smb2.SMB2_Tree_Disconnect_Response(_pkt, /, *, StructureSize=4, Reserved=0)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Tree_Disconnect_ResponseSMB2_Tree_Disconnect_Response fields StructureSize
4Reserved
0
- class scapy.layers.smb2.SMB2_Write_Request(_pkt, /, *, StructureSize=49, DataBufferOffset=None, DataLen=None, Offset=0, FileId=<SMB2_FILEID |>, Channel=0, RemainingBytes=0, WriteChannelInfoBufferOffset=None, WriteChannelInfoLen=None, Flags=<Flag 0 ()>, Buffer=[])[源代码]
基类:
_SMB2_Payload,_NTLMPayloadPacket- OFFSET = 112
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | DATABUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATALEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OFFSET | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FILEID | CHANNEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | REMAININGBYTES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | WRITECHANNELINFOBUFFEROFFSET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | WRITECHANNELINFOLEN | FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | BUFFER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Write_RequestSMB2_Write_Request fields StructureSize
49DataBufferOffset
NoneDataLen
NoneOffset
0FileId
<SMB2_FILEID |>Channel
0RemainingBytes
0WriteChannelInfoBufferOffset
NoneWriteChannelInfoLen
NoneFlags
<Flag 0 ()>Buffer
_NTLMPayloadField[]
- class scapy.layers.smb2.SMB2_Write_Response(_pkt, /, *, StructureSize=17, Reserved=0, Count=0, Remaining=0, WriteChannelInfoBufferOffset=0, WriteChannelInfoLen=0)[源代码]
基类:
_SMB2_Payload- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STRUCTURESIZE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | COUNT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | REMAINING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | WRITECHANNELINFOBUFFEROFFSET | WRITECHANNELINFOLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SMB2_Write_ResponseSMB2_Write_Response fields StructureSize
17Reserved
0Count
0Remaining
0WriteChannelInfoBufferOffset
0WriteChannelInfoLen
0