mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-05-17 01:47:09 +02:00
RPC PDUs can now be read starting from a specified buffer offset
This commit is contained in:
parent
f809d337c8
commit
3f36591e14
8 changed files with 37 additions and 36 deletions
|
@ -182,7 +182,7 @@ namespace SMBLibrary.Server.SMB1
|
|||
RemoteService service = ((NamedPipeShare)share).GetService(openedFilePath);
|
||||
if (service != null)
|
||||
{
|
||||
RPCPDU rpcRequest = RPCPDU.GetPDU(data);
|
||||
RPCPDU rpcRequest = RPCPDU.GetPDU(data, 0);
|
||||
RPCPDU rpcReply = RemoteServiceHelper.GetRPCReply(rpcRequest, service);
|
||||
byte[] replyData = rpcReply.GetBytes();
|
||||
state.StoreNamedPipeReply(FID, replyData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue