This adds support for smb_pipeio=trans

git-svn-id: file:///home/svn/framework3/trunk@4915 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-05-15 16:48:15 +00:00
parent 58a804e510
commit ddfe651bc8
1 changed files with 3 additions and 2 deletions

View File

@ -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