From 694561dd0ffc05648580fe53366801ed5896d9db Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Tue, 18 Nov 2014 11:02:27 -0600 Subject: [PATCH] Dont shadow methods with local variables, just in case... --- lib/msf/core/exploit/sunrpc.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msf/core/exploit/sunrpc.rb b/lib/msf/core/exploit/sunrpc.rb index 9645b3247e..b9ab02d6b7 100644 --- a/lib/msf/core/exploit/sunrpc.rb +++ b/lib/msf/core/exploit/sunrpc.rb @@ -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,