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_INFORMATION
FILE_GET_QUOTA_INFORMATION fields NextEntryOffset
0
SidLength
None
Sid
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_INFORMATION
FILE_ID_BOTH_DIR_INFORMATION fields 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'
- 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. FileEaInformation
FileEaInformation 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. FileFsAttributeInformation
FileFsAttributeInformation fields 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'
- 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. FileFsSizeInformation
FileFsSizeInformation fields TotalAllocationUnits
10485760
AvailableAllocationUnits
1048576
SectorsPerAllocationUnit
8
BytesPerSector
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. FileFsVolumeInformation
FileFsVolumeInformation fields VolumeCreationTime
None
VolumeSerialNumber
0
VolumeLabelLength
0
SupportsObjects
1
Reserved
0
VolumeLabel
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. FileIdBothDirectoryInformation
FileIdBothDirectoryInformation 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. FileInternalInformation
FileInternalInformation 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. FileNetworkOpenInformation
FileNetworkOpenInformation fields CreationTime
None
LastAccessTime
None
LastWriteTime
None
ChangeTime
None
AllocationSize
4096
EnfofFile
4096
FileAttributes
<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. FileStandardInformation
FileStandardInformation fields AllocationSize
4096
EndOfFile
0
NumberOfLinks
1
DeletePending
0
Directory
0
Reserved
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. FileStreamInformation
FileStreamInformation fields Next
0
StreamNameLength
None
StreamSize
0
StreamAllocationSize
0
StreamName
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_DESCRIPTOR
SECURITY_DESCRIPTOR fields Revision
1
Sbz1
0
Control
<Flag 0 ()>
OffsetOwner
0
OffsetGroup
0
OffsetSacl
0
OffsetDacl
0
OwnerSid
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_SIZE
SMB2_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_ID
SMB2_CREATE_APP_INSTANCE_ID fields StructureSize
20
Reserved
0
AppInstanceId
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_VERSION
SMB2_CREATE_APP_INSTANCE_VERSION fields StructureSize
24
Reserved
0
Padding
0
AppInstanceVersionHigh
0
AppInstanceVersionLow
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_RECONNECT
SMB2_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_V2
SMB2_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_REQUEST
SMB2_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_V2
SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 fields Timeout
0
Flags
<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_RESPONSE
SMB2_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_V2
SMB2_CREATE_DURABLE_HANDLE_RESPONSE_V2 fields Timeout
0
Flags
<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_REQUEST
SMB2_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_RESPONSE
SMB2_CREATE_QUERY_MAXIMAL_ACCESS_RESPONSE fields QueryStatus
0
MaximalAccess
<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_ID
SMB2_CREATE_QUERY_ON_DISK_ID fields DiskFileId
0
VolumeId
0
Reserved
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_LEASE
SMB2_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_V2
SMB2_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
0
ParentLeaseKey
b''
Epoch
0
Reserved
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_LEASE
SMB2_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_V2
SMB2_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
0
ParentLeaseKey
b''
Epoch
0
Reserved
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_TOKEN
SMB2_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_Request
SMB2_Cancel_Request fields StructureSize
4
Reserved
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_Request
SMB2_Change_Notify_Request fields StructureSize
32
Flags
<Flag 0 ()>
OutputBufferLength
2048
FileId
<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_Response
SMB2_Change_Notify_Response fields StructureSize
9
OutputBufferOffset
None
OutputLen
None
Buffer
_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_Request
SMB2_Close_Request fields StructureSize
24
Flags
<Flag 0 ()>
Reserved
0
FileId
<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_Response
SMB2_Close_Response fields StructureSize
60
Flags
<Flag 0 ()>
Reserved
0
CreationTime
0
LastAccessTime
0
LastWriteTime
0
ChangeTime
0
AllocationSize
4096
EnfofFile
4096
FileAttributes
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_Capabilities
SMB2_Compression_Capabilities fields CompressionAlgorithmCount
0
Padding
0
Flags
0
CompressionAlgorithms
[]
- 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_Header
SMB2_Compression_Transform_Header fields Start
b'\xfcSMB'
OriginalCompressedSegmentSize
0
CompressionAlgorithm
0
Flags
0
Offset_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_Context
SMB2_Create_Context fields Next
None
NameBufferOffset
None
NameLen
None
Reserved
0
DataBufferOffset
None
DataLen
None
Buffer
_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_Request
SMB2_Create_Request fields 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
_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_Response
SMB2_Create_Response fields 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
_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_Capabilities
SMB2_Encryption_Capabilities fields CipherCount
1
Ciphers
[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_Response
SMB2_Error_Response fields StructureSize
9
ErrorContextCount
0
Reserved
0
ByteCount
None
ErrorData
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_FILEID
SMB2_FILEID fields Persistent
0
Volatile
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_Header
SMB2_Header fields Start
b'\xfeSMB'
StructureSize
64
CreditCharge
0
Status
0
Command
0
CreditsRequested
0
Flags
<Flag 0 ()>
NextCommand
0
MID
0
AsyncId
LELongField
(Cond)0
PID
LEIntField
(Cond)0
TID
LEIntField
(Cond)0
SessionId
0
SecuritySignature
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_Request
SMB2_IOCTL_Request fields 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
_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_Response
SMB2_IOCTL_Response fields StructureSize
49
Reserved
0
CtlCode
0
FileId
<SMB2_FILEID |>
InputBufferOffset
None
InputLen
None
OutputBufferOffset
None
OutputLen
None
Flags
<Flag 0 ()>
Reserved2
0
Buffer
_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_Request
SMB2_IOCTL_Validate_Negotiate_Info_Request fields Capabilities
<Flag 0 ()>
ClientGUID
UUID('00000000-0000-0000-0000-000000000000')
SecurityMode
<Flag 0 ()>
DialectCount
None
Dialects
[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_Response
SMB2_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_Context
SMB2_Negotiate_Context fields ContextType
0
DataLength
0
Reserved
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_Request
SMB2_Negotiate_Protocol_Request fields 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
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_Response
SMB2_Negotiate_Protocol_Response fields 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
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_ID
SMB2_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_Capabilities
SMB2_Preauth_Integrity_Capabilities fields HashAlgorithmCount
1
SaltLength
0
HashAlgorithms
[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_Request
SMB2_Query_Directory_Request fields StructureSize
33
FileInformationClass
1
Flags
<Flag 0 ()>
FileIndex
0
FileId
<SMB2_FILEID |>
FileNameBufferOffset
None
FileNameLen
None
OutputBufferLength
2048
Buffer
_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_Response
SMB2_Query_Directory_Response fields StructureSize
9
OutputBufferOffset
None
OutputLen
None
Buffer
_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_Request
SMB2_Query_Info_Request fields StructureSize
41
InfoType
0
FileInfoClass
0
OutputBufferLength
0
InputBufferOffset
None
InputLen
None
AdditionalInformation
<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_Response
SMB2_Query_Info_Response fields StructureSize
9
OutputBufferOffset
None
OutputLen
None
Buffer
_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_Info
SMB2_Query_Quota_Info fields ReturnSingle
0
ReturnBoolean
0
Reserved
0
SidListLength
0
StartSidLength
0
StartSidOffset
0
pad
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_Request
SMB2_Read_Request fields 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
_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_Response
SMB2_Read_Response fields StructureSize
17
DataBufferOffset
None
DataLen
None
DataRemaining
0
Flags
<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_Request
SMB2_Session_Logoff_Request fields StructureSize
4
reserved
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_Response
SMB2_Session_Logoff_Response fields StructureSize
4
reserved
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_Request
SMB2_Session_Setup_Request fields StructureSize
25
Flags
<Flag 0 ()>
SecurityMode
<Flag 0 ()>
Capabilities
<Flag 0 ()>
Channel
0
SecurityBufferOffset
None
SecurityLen
None
PreviousSessionId
0
Buffer
_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_Response
SMB2_Session_Setup_Response fields StructureSize
9
SessionFlags
<Flag 0 ()>
SecurityBufferOffset
None
SecurityLen
None
Buffer
_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_Capabilities
SMB2_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_Request
SMB2_Tree_Connect_Request fields StructureSize
9
Flags
<Flag 0 ()>
PathBufferOffset
None
PathLen
None
Buffer
_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_Response
SMB2_Tree_Connect_Response fields StructureSize
16
ShareType
0
Reserved
0
ShareFlags
<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_Request
SMB2_Tree_Disconnect_Request fields StructureSize
4
Reserved
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_Response
SMB2_Tree_Disconnect_Response fields StructureSize
4
Reserved
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_Request
SMB2_Write_Request fields StructureSize
49
DataBufferOffset
None
DataLen
None
Offset
0
FileId
<SMB2_FILEID |>
Channel
0
RemainingBytes
0
WriteChannelInfoBufferOffset
None
WriteChannelInfoLen
None
Flags
<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_Response
SMB2_Write_Response fields StructureSize
17
Reserved
0
Count
0
Remaining
0
WriteChannelInfoBufferOffset
0
WriteChannelInfoLen
0