parent
fee49b0b85
commit
478505c17a
|
@ -84,7 +84,7 @@ module Exploit::Remote::SunRPC
|
|||
rpcobj.pport = arr[5]
|
||||
end
|
||||
|
||||
def sunrpc_call(proc, buf, timeout = timeout)
|
||||
def sunrpc_call(proc, buf, timeout = timeout())
|
||||
ret = rpcobj.call(proc, buf, timeout)
|
||||
raise ::Rex::Proto::SunRPC::RPCError, "#{rhost}:#{rport} - SunRPC - No response to SunRPC call for procedure: #{proc}" unless ret
|
||||
|
||||
|
|
Loading…
Reference in New Issue