rapid7/metasploit-framework

View on GitHub

Showing 15,930 of 22,004 total issues

Avoid too many return statements within this method.
Open

      return
Severity: Major
Found in lib/msf/core/exploit/remote/ftp_server.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

        return 6, 'Failed to extract nsp string' if handle_nsp && !nsp.present?
    Severity: Major
    Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

            return [5, [auth_cookies, nsp]]
      Severity: Major
      Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

              return [1, 'Connection failed']
        Severity: Major
        Found in lib/msf/core/exploit/remote/http/nagios_xi/install.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

              when "Fauth.c:L349:RClientAuthentication" ; return {:preauth => "8.4.1"}   # Rejected (maybe good)
          Severity: Major
          Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                when 'F.\src\backend\libpq\auth.c:L359:RClientAuthentication'      ; return {:preauth => "8.4.2-Win"} # Rejected (maybe good)
            Severity: Major
            Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                  return 0, 'Successfully authenticated and retrieved NagiosXI Version.', auth_cookies, version, nsp
              Severity: Major
              Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return [2, ['Unable to obtain the cookies required for authentication']]
                Severity: Major
                Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                      return
                  Severity: Major
                  Found in lib/msf/core/exploit/remote/http/nagios_xi/install.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return {
                            'status' => adaudit_plus_status::NO_DOMAINS,
                            'message' => 'Failed to obtain the list of configured domains.',
                            'adapcsrf_cookie' => adapcsrf_cookie.value
                          }

                      Avoid too many return statements within this method.
                      Open

                            return [1, ['Connection failed']]
                      Severity: Major
                      Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return {
                                'status' => adaudit_plus_status::NO_ACCESS,
                                'message' => 'The web app failed to load after authenticating'
                              }
                        Severity: Major
                        Found in lib/msf/core/exploit/remote/http/manage_engine_adaudit_plus/login.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                              when "Fpostinit.c:L354:RInitPostgres"     ; return {:preauth => "8.1.18-19"} # Failed (bad db, good credentials)
                          Severity: Major
                          Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  return
                            Severity: Major
                            Found in lib/msf/core/exploit/remote/ftp_server.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                  when 'Fpostinit.c:L318:' ; return {:preauth => '8.2.4-8.2.9-OpenSolaris'} # Failed (bad db, bad credentials)
                              Severity: Major
                              Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                    return 6, "Failed to extract auth cookies and nsp string" unless res_array.length == 2
                                Severity: Major
                                Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return [2, ['Unable to obtain the cookies required for authentication']]
                                  Severity: Major
                                  Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                        when "Fmiscinit.c:L432:RInitializeSessionUserId" ; return {:preauth => "9.1.5"} # Failed (bad db, bad credentials)
                                    Severity: Major
                                    Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                          when "Fauth.c:L302:Rauth_failed"          ; return {:preauth => "9.1.6"} # Bad password, good database
                                      Severity: Major
                                      Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                            when "Fauth.c:L483:RClientAuthentication" ; return {:preauth => "9.1.6"} # Bad user
                                        Severity: Major
                                        Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language