modules/exploits/linux/ssh/f5_bigip_known_privkey.rb
Method initialize
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'F5 BIG-IP SSH Private Key Exposure',
Method do_login
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def do_login(user)
opt_hash = ssh_client_defaults.merge({
auth_methods: ['publickey'],
port: rport,
key_data: [ key_data ]
Avoid too many return
statements within this method. Open
Open
return false unless ssh_socket