diff --git a/modules/exploits/unix/ssh/arista_tacplus_shell.rb b/modules/exploits/unix/ssh/arista_tacplus_shell.rb index ee4a04437d..0826871e28 100644 --- a/modules/exploits/unix/ssh/arista_tacplus_shell.rb +++ b/modules/exploits/unix/ssh/arista_tacplus_shell.rb @@ -48,7 +48,6 @@ class MetasploitModule < Msf::Exploit::Remote register_options( [ - Opt::RHOST(), Opt::RPORT(22), OptString.new('USERNAME', [true, 'Username to login with', '']), OptString.new('PASSWORD', [true, 'Password to login with', '']), @@ -94,7 +93,7 @@ class MetasploitModule < Msf::Exploit::Remote return CheckCode::Safe end - return CheckCode::Vulnerable + CheckCode::Vulnerable end @@ -191,6 +190,5 @@ class MetasploitModule < Msf::Exploit::Remote rescue Errno::EBADF => e elog(e.message) end - return end end