rapid7/metasploit-framework

View on GitHub

Showing 16,065 of 22,177 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 false
    Severity: Major
    Found in lib/msf/core/exploit/remote/mysql.rb - About 30 mins to fix

      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

                return cookies if typo3_admin_cookie_valid?(cookies)
        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

                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

                  when "Fauth.c:L285:Rauth_failed"          ; return {:preauth => "9.4.1-5"} # Bad creds, 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:L481:RClientAuthentication" ; return {:preauth => "9.4.1-5"} # bad user or host
                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 true
                      Severity: Major
                      Found in lib/msf/core/exploit/remote/mysql.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                            when "Fauth.c:L273:Rauth_failed"          ; return {:preauth => "8.4.2"} # 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_ACCESS,
                                    'message' => 'Failed to authenticate.'
                                  }
                          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:L319:RInitPostgres"     ; return {:preauth => "8.2.14-15"} # 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:L1060:RClientAuthentication" ; return {:preauth => "8.3.8"}    # 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 {:unknown => fingerprint}
                                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::UNEXPECTED_REPLY,
                                          'message' => 'Failed to obtain the jump_to_js cookies required for authentication.'
                                        }
                                  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

                                            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 "Fauth.c:L337:Rauth_failed"          ; return {:preauth => "8.1.18-19"} # 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:L258:Rauth_failed"          ; return {:preauth => "8.4.1"}   # Failed (bad db, bad credentials)
                                        Severity: Major
                                        Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language