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