modules/exploits/multi/http/zabbix_script_exec.rb
File zabbix_script_exec.rb
has 303 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class MetasploitModule < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Retry
include Msf::Exploit::Remote::HttpClient
Method initialize
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Zabbix Authenticated Remote Command Execution',
Method create_host
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def create_host(auth_token, group_id)
host = rand_text_alpha(18)
@host_name = host
print_status("Creating a host called #{host}")