rapid7/metasploit-framework

View on GitHub

Showing 22,177 of 22,177 total issues

Avoid too many return statements within this method.
Open

      return true
Severity: Major
Found in lib/rex/post/meterpreter/ui/console/command_dispatcher/winpmem.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

          return raw.unpack('V').first == 1
    Severity: Major
    Found in lib/rex/post/meterpreter/extensions/stdapi/railgun/util.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

          return "REG_NONE" if (type == REG_NONE)

        Avoid too many return statements within this method.
        Open

                return PRIMITIVE_TYPE_SIZES[primitive]
        Severity: Major
        Found in lib/rex/post/meterpreter/extensions/stdapi/railgun/util.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                return HKEY_PERFORMANCE_DATA
          Severity: Major
          Found in lib/rex/post/meterpreter/extensions/stdapi/sys/registry.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                  return [254, num&0xffffffff, num>>32].pack("CVV")
            Severity: Major
            Found in lib/rbmysql/packet.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                  return
              Severity: Major
              Found in lib/rex/post/sql/ui/console/command_dispatcher/client.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return unsigned ? v : v < 0x8000_0000_0000_0000 ? v : v-0x10000_0000_0000_0000
                Severity: Major
                Found in lib/rbmysql/protocol.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return RbMysql::Time.new(y, m, d, h, mi, s, false, sp)
                  Severity: Major
                  Found in lib/rbmysql/protocol.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return pkt.ushort
                    Severity: Major
                    Found in lib/rbmysql/protocol.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return pkt.read(4).unpack('e').first
                      Severity: Major
                      Found in lib/rbmysql/protocol.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return pkt.read(8).unpack('E').first
                        Severity: Major
                        Found in lib/rbmysql/protocol.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return RbMysql::Time.new(0, 0, 0, h, mi, s, sign!=0, sp)
                          Severity: Major
                          Found in lib/rbmysql/protocol.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return pkt.lcs
                            Severity: Major
                            Found in lib/rbmysql/protocol.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return v
                              Severity: Major
                              Found in lib/rbmysql/packet.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return (v2 << 32)+v1
                                Severity: Major
                                Found in lib/rbmysql/packet.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return t
                                  Severity: Major
                                  Found in lib/rbmysql/protocol.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return to_osx_arm_macho(framework, code)
                                    Severity: Major
                                    Found in lib/msf/util/exe.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                        return
                                      Severity: Major
                                      Found in lib/msf/ui/console/command_dispatcher/modules.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return to_solaris_x86_elf(framework, code)
                                        Severity: Major
                                        Found in lib/msf/util/exe.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language