Showing 7,361 of 22,177 total issues
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Netfilter nft_set_elem_init Heap Overflow Privilege Escalation',
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Nagios XI 5.5.0-5.7.3 - Snmptrap Authenticated Remote Code Exection',
Method exploit
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def exploit
# step 1: get a JSESSIONID cookie
res = send_request_cgi(
'uri' => normalize_uri(target_uri.path, 'app', 'ui', 'login'),
'method' => 'GET'
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info={})
super(update_info(info,
'Name' => "Mailcleaner Remote Code Execution",
'Description' => %q{
This module exploits the command injection vulnerability of MailCleaner Community Edition product. An authenticated user can execute an
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Nagios XI Prior to 5.8.0 - Plugins Filename Authenticated Remote Code Exection',
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Nagios XI 5.6.0-5.7.3 - Mibs.php Authenticated Remote Code Exection',
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Spring Cloud Gateway Remote Code Execution',
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'IBM Data Risk Manager a3user Default Password',
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Synology DiskStation Manager smart.cgi Remote Command Execution',
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Quantum vmPRO Backdoor Command',
Method run
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
# A table to store the found credentials.
cred_table = Rex::Text::Table.new(
'Header' => '.netrc credentials',
'Indent' => 1,
Method gathernix
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def gathernix
print_status('Unix OS detected')
user_files = cmd_exec('locate tomcat-users.xml').split("\n")
if !user_files.empty?
user_files.each do |path|
Method run
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
print_status("Running module against #{sysinfo['Computer']}")
# Collect even without a database to store them.
if session.framework.db.active
db_ok = true
Method run
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
installs = []
results = []
users = []
print_status("Enumerating Tomcat Servers on #{sysinfo['Computer']}")
Method run
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.run(options)
Git.clone_wiki! if options[:wiki_pull]
# Create a new branch based on the commits from https://github.com/rapid7/metasploit-framework/wiki to move
# Wiki files into the metasploit-framework repo
Method run
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
init_railgun_defs
@hostname_cache = {}
libgnome_keyring = session.railgun.libgnome_keyring
Method cmd_sniffer_dump
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def cmd_sniffer_dump(*args)
intf = args[0].to_i
if (intf == 0 or not args[1])
print_error("Usage: sniffer_dump [interface-id] [pcap-file]")
return
Method create_library
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.create_library(constant_manager, library_path = 'wlanapi')
dll = Library.new(library_path, constant_manager)
dll.add_function( 'WlanOpenHandle', 'DWORD',[
Method job_run_proc
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.job_run_proc(ctx, &block)
mod = ctx[0]
run_uuid = ctx[1]
job_listener = ctx[2]
begin
Method import_nuclei_jsonl
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def import_nuclei_jsonl(args = {}, &block)
wspace = Msf::Util::DBManager.process_opts_workspace(args, framework).name
bl = validate_ips(args[:blacklist]) ? args[:blacklist].split : []
args[:data].each_line do |line|