rapid7/metasploit-framework

View on GitHub

Showing 16,065 of 22,177 total issues

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

      def initialize(client, name, tree_id, file_id, versions)
Severity: Minor
Found in lib/rex/proto/smb/simple_client/open_file.rb - About 35 mins to fix

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

        def simple_name_lookup(upstream_resolver, packet, type, cls, &block)
    Severity: Minor
    Found in lib/rex/proto/dns/resolver.rb - About 35 mins to fix

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

        def createservicew(scm_handle, service_name, display_name, binary_path, opts)
      Severity: Minor
      Found in lib/rex/proto/dcerpc/svcctl/client.rb - About 35 mins to fix

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

          def session_setup_with_ntlmssp(user = '', pass = '', domain = '', name = nil, do_recv = true)
        Severity: Minor
        Found in lib/rex/proto/smb/client.rb - About 35 mins to fix

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

            def add_var(name, type_mod=0, value_length=nil, array_size=0, value)
          Severity: Minor
          Found in lib/rex/proto/dcerpc/wdscp/packet.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/rc4_hmac.rb - About 35 mins to fix

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

                      def send_mms_to_phones(phone_numbers, subject, message, attachment_path=nil, ctype=nil)
              Severity: Minor
              Found in lib/rex/proto/mms/client.rb - About 35 mins to fix

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

                  def self.make_request_chunk(flags=3, opnum=0, data="", ctx=0, object_id = '')
                Severity: Minor
                Found in lib/rex/proto/dcerpc/packet.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/rc4_hmac.rb - About 35 mins to fix

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

                      def session_setup_no_ntlmssp_prehash(user, domain, hash_lm, hash_nt, do_recv = true)
                    Severity: Minor
                    Found in lib/rex/proto/smb/client.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/block_cipher_base.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/block_cipher_base.rb - About 35 mins to fix

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

                            def initialize(prompt, prompt_char = '>', histfile = nil, framework = nil, name = nil)
                          Severity: Minor
                          Found in lib/rex/ui/text/shell.rb - About 35 mins to fix

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

                                    def initialize(type, version, username, sid, master_password = nil)
                            Severity: Minor
                            Found in lib/rex/parser/net_sarang.rb - About 35 mins to fix

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

                                def initialize(prompt, prompt_char = '>', histfile = nil, framework = nil, name = nil)
                              Severity: Minor
                              Found in lib/rex/ui/text/dispatcher_shell.rb - About 35 mins to fix

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

                                      def quarter_round(x, a, b, c, d)
                                Severity: Minor
                                Found in lib/rex/crypto/chacha20.rb - About 35 mins to fix

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

                                    def send_isotp_and_wait_for_response(bus, src_id, dst_id, data, opt = {})
                                  Severity: Minor
                                  Found in lib/rex/post/hwbridge/extensions/automotive/automotive.rb - About 35 mins to fix

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

                                      def start_bg_job(name, ctx, run_proc, clean_proc = nil, async = true)
                                    Severity: Minor
                                    Found in lib/rex/job_container.rb - About 35 mins to fix

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

                                        def add_function(name, return_type, params, remote_name=nil, calling_conv='stdcall')
                                      Severity: Minor
                                      Found in lib/rex/post/meterpreter/extensions/stdapi/railgun/library.rb - About 35 mins to fix

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

                                          def initialize(subnet, netmask, gateway, interface='', metric=0)
                                        Severity: Minor
                                        Found in lib/rex/post/meterpreter/extensions/stdapi/net/route.rb - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language