Skip to content

Commit 694561d

Browse files
jvazquez-r7jhart-r7
authored andcommitted
Dont shadow methods with local variables, just in case...
1 parent 60e31cb commit 694561d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/exploit/sunrpc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ def initialize(info = {})
5151
)
5252
end
5353

54-
def sunrpc_create(protocol, program, version, timeout = timeout)
54+
def sunrpc_create(protocol, program, version, time_out = timeout)
5555
self.rpcobj = Rex::Proto::SunRPC::Client.new(
5656
:rhost => rhost,
5757
:rport => rport.to_i,
5858
:proto => protocol,
5959
:program => program,
60-
:timeout => timeout,
60+
:timeout => time_out,
6161
:version => version,
6262
:context => {
6363
'Msf' => framework,

0 commit comments

Comments
 (0)