SMB Header Structure:
SMB_Header
{
UCHAR Protocol[4];
UCHAR Command;
SMB_ERROR Status;
UCHAR Flags;
USHORT Flags2;
USHORT PIDHigh;
UCHAR SecurityFeatures[8];
USHORT Reserved;
USHORT TID;
USHORT PIDLow;
USHORT UID;
USHORT MID;
}
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVoOH3bTeECHKVOn7D0xaJUvpuuEYvCCR4ptGk4WkCBVo2Bx0aQK1ReqX31uP0rBh6cH4uDqN4TH6iELuJgsIj9-c4uWzrlt5u4HvTN6AVP9-Z0Ifai1_q_0re1S-P-Xrk2nMrORLAa_5r/s320/SMBReq.jpg)
SMB Parameter Block:
SMB_Parameters
{
UCHAR WordCount;
USHORT Words[WordCount] (variable);
}
SMB Data Block:
SMB_Data
{
USHORT ByteCount;
UCHAR Bytes[ByteCount] (variable);
}
For further details
http://msdn.microsoft.com/en-us/library/ee441466%28v=PROT.13%29.aspx
http://www.hsc.fr/ressources/articles/win_net_srv/
No comments:
Post a Comment