rapid7/metasploit-framework

View on GitHub

Showing 15,831 of 21,886 total issues

Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def initialize
    super(
      'Name'        => 'Oracle iSQL*Plus Login Utility',
      'Description' => %q{
        This module attempts to authenticate against an Oracle ISQL*Plus
Severity: Minor
Found in modules/auxiliary/scanner/oracle/isqlplus_login.rb - About 1 hr to fix

    Method check_host has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def check_host(_ip)
        # The check command will call this method instead of run_host
        status = Exploit::CheckCode::Unknown
    
        begin
    Severity: Minor
    Found in modules/auxiliary/scanner/rdp/cve_2019_0708_bluekeep.rb - About 1 hr to fix

      Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        def initialize(info = {})
          super(update_info(info,
            'Name'        => 'MySQL Login Utility',
            'Description' => 'This module simply queries the MySQL instance for a specific user/pass (default is root with blank).',
            'Author'      => [ 'Bernardo Damele A. G. <bernardo.damele[at]gmail.com>' ],
      Severity: Minor
      Found in modules/auxiliary/scanner/mysql/mysql_login.rb - About 1 hr to fix

        Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          def initialize
            super(
              'Name'           => 'Cisco DLSw Information Disclosure Scanner',
              'Description'    => %q(
                This module implements the DLSw information disclosure retrieval. There
        Severity: Minor
        Found in modules/auxiliary/scanner/dlsw/dlsw_leak_capture.rb - About 1 hr to fix

          Method check_host_key has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            def check_host_key(server_data)
              table = []
          
              host_key_checks = {
                %w[
          Severity: Minor
          Found in modules/auxiliary/scanner/ssh/ssh_version.rb - About 1 hr to fix

            Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              def initialize(info={})
                super(update_info(info,
                  'Name'           => "VMWare Update Manager 4 Directory Traversal",
                  'Description'    => %q{
                    This modules exploits a directory traversal vulnerability in VMWare Update Manager
            Severity: Minor
            Found in modules/auxiliary/scanner/vmware/vmware_update_manager_traversal.rb - About 1 hr to fix

              Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                def initialize(info = {})
                  super(update_info(info,
                    'Name'           => 'Eaton Xpert Meter SSH Private Key Exposure Scanner',
                    'Description'    => %q{
                      Eaton Power Xpert Meters running firmware below version 12.x.x.x or
              Severity: Minor
              Found in modules/auxiliary/scanner/ssh/eaton_xpert_backdoor.rb - About 1 hr to fix

                Method fingerprint_vmware has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  def fingerprint_vmware(ip,res)
                    unless res
                      vprint_error("http://#{ip}:#{rport} - No response")
                      return false
                    end
                Severity: Minor
                Found in modules/auxiliary/scanner/vmware/esx_fingerprint.rb - About 1 hr to fix

                  Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    def initialize(info = {})
                      super(
                        update_info(
                          info,
                          'Name'          => 'Test SSH Github Access',
                  Severity: Minor
                  Found in modules/auxiliary/scanner/ssh/ssh_enum_git_keys.rb - About 1 hr to fix

                    Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      def initialize(info = {})
                        super(
                          update_info(
                            info,
                            'Name' => 'Kerberos Authentication Check Scanner',
                    Severity: Minor
                    Found in modules/auxiliary/scanner/kerberos/kerberos_login.rb - About 1 hr to fix

                      Method run_host has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        def run_host(ip)
                          ssh_opts = ssh_client_defaults.merge({
                            :port            => rport,
                            :auth_methods    => ['password', 'keyboard-interactive'],
                            :password        => %q{<<< %s(un='%s') = %u},
                      Severity: Minor
                      Found in modules/auxiliary/scanner/ssh/juniper_backdoor.rb - About 1 hr to fix

                        Method run_host has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          def run_host(ip)
                            # first check if we even need auth
                            begin
                              connect
                              challenge = require_auth?
                        Severity: Minor
                        Found in modules/auxiliary/scanner/varnish/varnish_cli_file_read.rb - About 1 hr to fix

                          Method check_path has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            def check_path(ip, path)
                              vprint_status("Trying to download \\\\#{ip}\\#{path}...")
                              begin
                                fd = simple.open(path, 'ro')
                                print_good "Found Policy Share on #{ip}"
                          Severity: Minor
                          Found in modules/auxiliary/scanner/smb/smb_enum_gpp.rb - About 1 hr to fix

                            Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              def initialize(info = {})
                                super(update_info(info,
                                  'Name'           => 'Novell ZENworks Configuration Management Preboot Service Remote File Access',
                                  'Description'    => %q{
                                      This module exploits a directory traversal in the ZENworks Configuration Management.
                            Severity: Minor
                            Found in modules/auxiliary/scanner/misc/zenworks_preboot_fileaccess.rb - About 1 hr to fix

                              Method get_ftp_credentials has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                def get_ftp_credentials(conf)
                                  server = ""
                                  user = ""
                                  password = ""
                                  port = ""
                              Severity: Minor
                              Found in modules/auxiliary/scanner/misc/dvr_config_disclosure.rb - About 1 hr to fix

                                Method encode_block_perl has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                  def encode_block_perl(state, buf)
                                
                                    hex = buf.unpack("H*").join
                                    cmd = 'perl -e '
                                    qot = ',-:.=+!@#$%^&'
                                Severity: Minor
                                Found in modules/encoders/cmd/perl.rb - About 1 hr to fix

                                  Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                    def initialize(info = {})
                                      super(update_info(info,
                                        'Name'           => 'Microsoft Word UNC Path Injector',
                                        'Description'    => %q{
                                            This module modifies a .docx file that will, upon opening, submit stored
                                  Severity: Minor
                                  Found in modules/auxiliary/docx/word_unc_injector.rb - About 1 hr to fix

                                    Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      def initialize(info = {})
                                        super(merge_info(info,
                                           'Name'          => 'Unix Command Shell, Reverse TCP SSL (telnet)',
                                           'Description'   => %q{
                                            Creates an interactive shell via mkfifo and telnet.
                                    Severity: Minor
                                    Found in modules/payloads/singles/cmd/unix/reverse_bash_telnet_ssl.rb - About 1 hr to fix

                                      Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        def initialize(info = {})
                                          super(merge_info(info,
                                           'Name'        => 'Unix Command Shell, Reverse TCP SSH',
                                           'Description' => 'Connect back and create a command shell via SSH',
                                           'Author'      => [
                                      Severity: Minor
                                      Found in modules/payloads/singles/cmd/unix/reverse_ssh.rb - About 1 hr to fix

                                        Method initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          def initialize(info = {})
                                            super(merge_info(info,
                                             'Name'          => 'Unix Command Shell, Bind TCP (via BusyBox telnetd)',
                                             'Description'   => 'Listen for a connection and spawn a command shell via BusyBox telnetd',
                                             'Author'        => 'Matthew Kienow <matthew_kienow[AT]rapid7.com>',
                                        Severity: Minor
                                        Found in modules/payloads/singles/cmd/unix/bind_busybox_telnetd.rb - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language