add a NO RECV flag to the client call function

git-svn-id: file:///home/svn/framework3/trunk@10038 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-08-18 17:21:10 +00:00
parent 626f7e0c66
commit b8991c541e
1 changed files with 3 additions and 1 deletions

View File

@ -272,7 +272,7 @@ require 'rex/proto/smb/exceptions'
end
# Perform a DCE/RPC Function Call
def call(function, data)
def call(function, data, do_recv = true)
frag_size = data.length
if options['frag_size']
@ -291,6 +291,8 @@ require 'rex/proto/smb/exceptions'
self.write(packet)
}
return true if not do_recv
raw_response = ''
begin