Dont shadow methods with local variables, just in case...

bug/bundler_fix
jvazquez-r7 2014-11-18 11:02:27 -06:00 committed by Jon Hart
parent 60e31cb342
commit 694561dd0f
1 changed files with 2 additions and 2 deletions

View File

@ -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,