rapid7/metasploit-framework

View on GitHub

Showing 15,930 of 22,004 total issues

Avoid too many return statements within this method.
Open

  return true
Severity: Major
Found in lib/msf/core/auxiliary/nmap.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

          return search_result unless fields.is_a? Array
    Severity: Major
    Found in lib/msf/core/auxiliary/manage_engine_xnode/process.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return nil
      Severity: Major
      Found in lib/msf/core/auxiliary/manage_engine_xnode/process.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return true if File.fnmatch(location, hostname)
        Severity: Major
        Found in lib/msf/core/auxiliary/nfs.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

              return true if set.include?("php")
          Severity: Major
          Found in lib/msf/core/analyze/result.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                return true if set.include?("python")
            Severity: Major
            Found in lib/msf/core/analyze/result.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                  return true if set.include?("java")
              Severity: Major
              Found in lib/msf/core/analyze/result.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return false
                Severity: Major
                Found in lib/msf/core/payload_set.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        return true if hos.include?(mos)
                  Severity: Major
                  Found in lib/msf/core/analyze/result.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return ["missing Meterpreter features: #{command_names_for(missing_cmd_ids)}"] unless missing_cmd_ids.empty?
                    Severity: Major
                    Found in lib/msf/core/session_compatibility.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return false
                      Severity: Major
                      Found in lib/msf/core/modules/metadata/search.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return true if !hos.include?('windows')
                        Severity: Major
                        Found in lib/msf/core/analyze/result.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                return false
                          Severity: Major
                          Found in lib/msf/core/payload_set.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  return false if set.include?("irix") && mod.refname.include?("irix") && !hos.include?("irix")
                            Severity: Major
                            Found in lib/msf/core/analyze/result.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                    return false
                              Severity: Major
                              Found in lib/msf/core/payload_set.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      return false unless loaded
                                Severity: Major
                                Found in lib/msf/core/modules/loader/base.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                      return false
                                  Severity: Major
                                  Found in lib/msf/core/db_manager/ip_address.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                        return true if Rex::Socket::RangeWalker.new("255.255.255.255-255.255.255.255").include? ip_x
                                    Severity: Major
                                    Found in lib/msf/core/db_manager/ip_address.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                            return false
                                      Severity: Major
                                      Found in lib/msf/core/modules/loader/base.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                            return true
                                        Severity: Major
                                        Found in lib/msf/core/modules/loader/base.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language