rapid7/metasploit-framework

View on GitHub

Showing 15,930 of 22,004 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

        return blog_posts
    Severity: Major
    Found in lib/msf/core/exploit/remote/http/wordpress/posts.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

        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

              when 'Fsrc\backend\utils\init\postinit.c:L717:RInitPostgres'       ; return {:preauth => "9.2.1-Win"} # 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:L319:' ; return {:preauth => '8.2.10-8.2.13-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
              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 [2, 'Received unexpected reply while trying to install Nagios XI on the target.']
                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 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:L1003:Rauth_failed"          ; return {:preauth => "8.3.8"}    # 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: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

                            when 'F.\src\backend\libpq\auth.c:L297:Rauth_failed'               ; return {:preauth => "9.0.3-Win"} # Rejected (bad db or bad creds)
                        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_post_auth
                          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 '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

                                    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 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 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 'F.\src\backend\libpq\auth.c:L464:RClientAuthentication'      ; return {:preauth => "9.0.3-Win"} # Rejected (not allowed in pg_hba.conf)
                                    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 login_result, res_array unless (login_result == 0)
                                        Severity: Major
                                        Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language