Skip to content

Commit 478505c

Browse files
committed
1 parent fee49b0 commit 478505c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/sunrpc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def sunrpc_create(protocol, program, version, time_out = timeout)
8484
rpcobj.pport = arr[5]
8585
end
8686

87-
def sunrpc_call(proc, buf, timeout = timeout)
87+
def sunrpc_call(proc, buf, timeout = timeout())
8888
ret = rpcobj.call(proc, buf, timeout)
8989
raise ::Rex::Proto::SunRPC::RPCError, "#{rhost}:#{rport} - SunRPC - No response to SunRPC call for procedure: #{proc}" unless ret
9090

0 commit comments

Comments
 (0)