mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
add a NO RECV flag to the client call function
git-svn-id: file:///home/svn/framework3/trunk@10038 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
626f7e0c66
commit
b8991c541e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user