modules/exploits/linux/ssh/symantec_smg_ssh.rb
Method initialize
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Symantec Messaging Gateway 9.5 Default SSH Password Vulnerability',
Method do_login
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def do_login(user, pass)
opts = ssh_client_defaults.merge({
auth_methods: ['password', 'keyboard-interactive'],
port: rport,
password: pass
Avoid too many return
statements within this method. Open
Open
return nil
Avoid too many return
statements within this method. Open
Open
return conn