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/http/nagios_xi/install.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, ['Received unexpected reply while trying to authenticate. Please check your credentials.']]
      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 Msf::Exploit::CheckCode::Appears(details:{version: version})
          Severity: Major
          Found in lib/msf/core/exploit/remote/http/wordpress/version.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 6, 'Failed to extract authentication cookies' unless auth_cookies.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 [2, ['Unable to obtain the value of the `nsp_str` token 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 [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 [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 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

                        Avoid too many return statements within this method.
                        Open

                                  return Msf::Exploit::CheckCode::Safe(details:{version: version})
                        Severity: Major
                        Found in lib/msf/core/exploit/remote/http/wordpress/version.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return Msf::Exploit::CheckCode::Safe(details:{version: version})
                          Severity: Major
                          Found in lib/msf/core/exploit/remote/http/wordpress/version.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                        return Msf::Exploit::CheckCode::Appears(details:{version: version})
                              Severity: Major
                              Found in lib/msf/core/exploit/remote/http/wordpress/version.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                    return Msf::Exploit::CheckCode::Unknown("#{peer} - Could not connect to web service")
                                Severity: Major
                                Found in lib/msf/core/exploit/remote/http/webmin/check.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 nil
                                    Severity: Major
                                    Found in lib/msf/core/exploit/remote/http/wordpress/helpers.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

                                            when "Fauth.c:L414:RClientAuthentication" ; return {:preauth => "8.2.7-1"}   # Failed (bad db, bad credentials) ubuntu 8.04.2
                                        Severity: Major
                                        Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language