rapid7/metasploit-framework

View on GitHub

Showing 16,065 of 22,177 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

          return _generate_tftp_command
    Severity: Major
    Found in lib/msf/core/payload/adapter/fetch.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

            return _generate_certutil_command
      Severity: Major
      Found in lib/msf/core/payload/adapter/fetch.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                  return nil
        Severity: Major
        Found in lib/msf/core/post/architecture.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                return false unless f =~ /true/
          Severity: Major
          Found in lib/msf/core/post/file.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                return nil unless readable?(file_name)
            Severity: Major
            Found in lib/msf/core/post/file.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return "India OBD I (IOBD I)"
              Severity: Major
              Found in lib/msf/core/post/hardware/automotive/uds.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return "Reserved"
                Severity: Major
                Found in lib/msf/core/post/hardware/automotive/uds.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        return packets if show_error
                  Severity: Major
                  Found in lib/msf/core/post/hardware/automotive/uds.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return session.shell_command_token('echo $PWD').to_s.strip
                    Severity: Major
                    Found in lib/msf/core/post/file.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                            return unless data
                      Severity: Major
                      Found in lib/msf/core/post/file.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return "EOBD and OBD"
                        Severity: Major
                        Found in lib/msf/core/post/hardware/automotive/uds.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                return "JOBD and OBD-II"
                          Severity: Major
                          Found in lib/msf/core/post/hardware/automotive/uds.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  return unless data
                            Severity: Major
                            Found in lib/msf/core/post/file.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                    return "Heavy Duty On-Board Diagnostics (Child/Partial) (HD OBD-C)"
                              Severity: Major
                              Found in lib/msf/core/post/hardware/automotive/uds.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      return "EOBD Europe"
                                Severity: Major
                                Found in lib/msf/core/post/hardware/automotive/uds.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return unless data
                                  Severity: Major
                                  Found in lib/msf/core/post/file.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                          return "OBD as defined by EPA"
                                    Severity: Major
                                    Found in lib/msf/core/post/hardware/automotive/uds.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                          return unless chksum =~ /\A[a-f0-9]{40}\z/
                                      Severity: Major
                                      Found in lib/msf/core/post/file.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return _write_file_unix_shell(file_name, data)
                                        Severity: Major
                                        Found in lib/msf/core/post/file.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language