mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-08 18:43:19 +02:00
SMB1/SMB2 Headers: Marked Protocol ID bytes as private
This commit is contained in:
parent
14e02ed8ac
commit
d0b8ad25f1
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
|
||||||
public const int Length = 32;
|
public const int Length = 32;
|
||||||
public static readonly byte[] ProtocolSignature = new byte[] { 0xFF, 0x53, 0x4D, 0x42 };
|
public static readonly byte[] ProtocolSignature = new byte[] { 0xFF, 0x53, 0x4D, 0x42 };
|
||||||
|
|
||||||
public byte[] Protocol; // byte[4], 0xFF followed by "SMB"
|
private byte[] Protocol; // byte[4], 0xFF followed by "SMB"
|
||||||
public CommandName Command;
|
public CommandName Command;
|
||||||
public NTStatus Status;
|
public NTStatus Status;
|
||||||
public HeaderFlags Flags;
|
public HeaderFlags Flags;
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace SMBLibrary.SMB2
|
||||||
|
|
||||||
public static readonly byte[] ProtocolSignature = new byte[] { 0xFE, 0x53, 0x4D, 0x42 };
|
public static readonly byte[] ProtocolSignature = new byte[] { 0xFE, 0x53, 0x4D, 0x42 };
|
||||||
|
|
||||||
public byte[] ProtocolId; // 4 bytes, 0xFE followed by "SMB"
|
private byte[] ProtocolId; // 4 bytes, 0xFE followed by "SMB"
|
||||||
private ushort StructureSize;
|
private ushort StructureSize;
|
||||||
public ushort CreditCharge;
|
public ushort CreditCharge;
|
||||||
public NTStatus Status;
|
public NTStatus Status;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue