rapid7/metasploit-framework

View on GitHub

Showing 16,065 of 22,177 total issues

Method loot_file has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

  def loot_file(path, data, title, type, description)
Severity: Minor
Found in modules/post/multi/gather/lastpass_creds.rb - About 35 mins to fix

    Method connections has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def connections(remote, dst_port, h_icmp, h_tcp, to)
    Severity: Minor
    Found in modules/post/windows/recon/outbound_ports.rb - About 35 mins to fix

      Method store_username has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        def store_username(username, uac, lockout_time, realm, domain_ip)
      Severity: Minor
      Found in modules/post/windows/gather/enum_ad_users.rb - About 35 mins to fix

        Method decrypt_user_hash has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          def decrypt_user_hash(rid, hbootkey, enchash, pass, default)
        Severity: Minor
        Found in modules/post/windows/gather/hashdump.rb - About 35 mins to fix

          Method enumerate_muicache has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            def enumerate_muicache(muicache_reg_keys, sys_users, sys_paths, muicache, hive_file)
          Severity: Minor
          Found in modules/post/windows/gather/enum_muicache.rb - About 35 mins to fix

            Method gather_pf_info has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              def gather_pf_info(name_offset, hash_offset, runcount_offset, filetime_offset, filename)
            Severity: Minor
            Found in modules/post/windows/gather/enum_prefetch.rb - About 35 mins to fix

              Method display_report has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                def display_report(sid, info, sync_used, sync_all, results_table)
              Severity: Minor
              Found in modules/post/windows/gather/enum_onedrive.rb - About 35 mins to fix

                Method register_creds has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                  def register_creds(host_ip, user, pass, realm, port)
                Severity: Minor
                Found in modules/post/windows/gather/credentials/rdc_manager_creds.rb - About 35 mins to fix

                  Method modify_user_key has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    def modify_user_key(hbootkey, rid, user, nthash, lmhash)
                  Severity: Minor
                  Found in modules/post/windows/manage/hashcarve.rb - About 35 mins to fix

                    Method run_rasdial has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      def run_rasdial(pbk, user, pass, vpn_host, pbk_name)
                    Severity: Minor
                    Found in modules/post/windows/manage/pptp_tunnel.rb - About 35 mins to fix

                      Method copy_assembly has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        def copy_assembly(pipe_name, appdomain_name, clr_version, exe_path, process)
                      Severity: Minor
                      Found in modules/post/windows/manage/execute_dotnet_assembly.rb - About 35 mins to fix

                        Method dcerpc_handle has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def dcerpc_handle(uuid, version, protocol, opts, rhost)
                        Severity: Minor
                        Found in tools/exploit/psexec.rb - About 35 mins to fix

                          Method isotpsend_and_wait has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def isotpsend_and_wait(srcid, dstid, data, timeout, maxpkts)
                          Severity: Minor
                          Found in tools/hardware/elm327_relay.rb - About 35 mins to fix

                            Method dcerpc_bind has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            def dcerpc_bind(handle, csocket, csimple, cuser, cpass)
                            Severity: Minor
                            Found in tools/exploit/psexec.rb - About 35 mins to fix

                              Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                      def initialize(framework_module, framework, rhost, rport = 1433, proxies = nil)
                              Severity: Minor
                              Found in lib/rex/proto/mssql/client.rb - About 35 mins to fix

                                Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                        def initialize(challenge, domain, server, dnsname, dnsdomain)
                                Severity: Minor
                                Found in lib/rex/proto/ldap/auth.rb - About 35 mins to fix

                                  Method gss_wrap has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                            def gss_wrap(plaintext, key, sequence_number, is_initiator, opts={})
                                  Severity: Minor
                                  Found in lib/rex/proto/kerberos/crypto/gss_new_encryption_type.rb - About 35 mins to fix

                                    Method gss_unwrap has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                              def gss_unwrap(ciphertext, key, expected_sequence_number, is_initiator, opts={})
                                    Severity: Minor
                                    Found in lib/rex/proto/kerberos/crypto/gss_new_encryption_type.rb - About 35 mins to fix

                                      Method portmap_req has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                        def portmap_req(host, port, rpc_vers, procedure, buffer)
                                      Severity: Minor
                                      Found in lib/rex/proto/sunrpc/client.rb - About 35 mins to fix

                                        Method make_request has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                          def self.make_request(opnum=0, data="", size=data.length, ctx=0, object_id = '')
                                        Severity: Minor
                                        Found in lib/rex/proto/dcerpc/packet.rb - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language