This adds support for smb_pipeio=trans
git-svn-id: file:///home/svn/framework3/trunk@4915 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
58a804e510
commit
ddfe651bc8
|
@ -157,9 +157,10 @@ EVADE = Rex::Proto::SMB::Evasions
|
|||
end
|
||||
|
||||
def write_trans(data, offset=0)
|
||||
# Payload is not being filled the the response !?!!?
|
||||
ack = self.client.trans_named_pipe(self.file_id, data)
|
||||
@buff << ack['Payload'].v['Payload']
|
||||
doff = ack['Payload'].v['DataOffset']
|
||||
dlen = ack['Payload'].v['DataCount']
|
||||
@buff << ack.to_s[4+doff, dlen]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue