From ffc49ccf83ae06ce8a720cb8a3e4fa62ebfc3a6b Mon Sep 17 00:00:00 2001 From: SecurityBytesMe Date: Sun, 14 Jun 2020 15:10:41 -0700 Subject: [PATCH] General cleanup --- modules/exploits/unix/ssh/arista_tacplus_shell.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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