Dont shadow methods with local variables, just in case...
parent
60e31cb342
commit
694561dd0f
|
@ -51,13 +51,13 @@ module Exploit::Remote::SunRPC
|
|||
)
|
||||
end
|
||||
|
||||
def sunrpc_create(protocol, program, version, timeout = timeout)
|
||||
def sunrpc_create(protocol, program, version, time_out = timeout)
|
||||
self.rpcobj = Rex::Proto::SunRPC::Client.new(
|
||||
:rhost => rhost,
|
||||
:rport => rport.to_i,
|
||||
:proto => protocol,
|
||||
:program => program,
|
||||
:timeout => timeout,
|
||||
:timeout => time_out,
|
||||
:version => version,
|
||||
:context => {
|
||||
'Msf' => framework,
|
||||
|
|
Loading…
Reference in New Issue