rapid7/metasploit-framework

View on GitHub

Showing 16,065 of 22,177 total issues

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 {
            '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 nil
      Severity: Major
      Found in lib/msf/core/exploit/remote/http/typo3/login.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

            when "Fpostinit.c:L422:RInitPostgres"     ; return {:preauth => "8.4.1-2"} # 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

              when "Fpostinit.c:L709:RInitPostgres"     ; return {:preauth => "9.1.5"} # 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 {
                  'status' => adaudit_plus_status::CONNECTION_FAILED,
                  'message' => 'Connection failed'
                } unless res_login
            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:L274:RInitPostgres"     ; return {:preauth => "8.0.22-23"} # 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

                    when "Fauth.c:L362:Rauth_failed"          ; return {:preauth => "8.2.14-15"} # 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 '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 {
                            '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 "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 "Fmiscinit.c:L362:RInitializeSessionUserId" ; return {:preauth => "9.4.1-5"} # Bad user
                        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 'Fmiscinit.c:L420:' ; return {:preauth => '8.2.6-8.2.13-OpenSolaris'} # Failed (good 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:L364:RClientAuthentication" ; return {:preauth => "8.4.2"} # 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
                              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
                                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
                                  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
                                    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 true
                                      Severity: Major
                                      Found in lib/msf/core/exploit/remote/real_port.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

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