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 modules/auxiliary/fuzzers/ftp/client_ftp.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

          return
    Severity: Major
    Found in modules/auxiliary/fuzzers/ftp/client_ftp.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                        if !dns_send(pkt,@underlayerProtocol) then return end # If then return end?
      Severity: Major
      Found in modules/auxiliary/fuzzers/dns/dns_fuzzer.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            if !dns_send(pkt,@underlayerProtocol) then return end
        Severity: Major
        Found in modules/auxiliary/fuzzers/dns/dns_fuzzer.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return Exploit::CheckCode::Safe
          Severity: Major
          Found in modules/exploits/unix/http/dell_kace_k1000_upload.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                  return Exploit::CheckCode::Detected
            Severity: Major
            Found in modules/exploits/unix/http/dell_kace_k1000_upload.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return text_value
              Severity: Major
              Found in modules/exploits/unix/http/splunk_xslt_authenticated_rce.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return Exploit::CheckCode::Safe("Patched pfSense version #{version} detected")
                Severity: Major
                Found in modules/exploits/unix/http/pfsense_config_data_exec.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        return CheckCode::Appears("#{rhost}:#{ftp_port} - Unauthenticated SITE CPFR command was successful")
                  Severity: Major
                  Found in modules/exploits/unix/ftp/proftpd_modcopy_exec.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                        return CheckCode::Detected('No response to log in attempt.') unless res
                    Severity: Major
                    Found in modules/exploits/unix/http/pfsense_diag_routes_webshell.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                          return CheckCode::Safe('No response to upload attempt.') unless res
                      Severity: Major
                      Found in modules/exploits/unix/http/pfsense_diag_routes_webshell.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return Exploit::CheckCode::Detected('Unable to get the pfSense version')
                        Severity: Major
                        Found in modules/exploits/unix/http/pfsense_config_data_exec.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                              return CheckCode::Safe("Exploit validation check did not receive 200 OK: #{res.code}") unless res.code == 200
                          Severity: Major
                          Found in modules/exploits/unix/http/pfsense_diag_routes_webshell.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                return CheckCode::Detected('Log in failed. User provided invalid credentials.') unless res.code == 302
                            Severity: Major
                            Found in modules/exploits/unix/http/pfsense_diag_routes_webshell.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                  return CheckCode::Safe('No response to exploit validation check.') unless res
                              Severity: Major
                              Found in modules/exploits/unix/http/pfsense_diag_routes_webshell.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      return CheckCode::Safe("#{rhost}:#{ftp_port} - SITE CPFR command requires authentication.")
                                Severity: Major
                                Found in modules/exploits/unix/ftp/proftpd_modcopy_exec.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return nil
                                  Severity: Major
                                  Found in modules/exploits/unix/http/splunk_xslt_authenticated_rce.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                        return nil
                                    Severity: Major
                                    Found in modules/exploits/unix/http/splunk_xslt_authenticated_rce.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                          return CheckCode::Safe("Exploit attempt did not receive 200 OK: #{res.code}") unless res.code == 200
                                      Severity: Major
                                      Found in modules/exploits/unix/http/pfsense_diag_routes_webshell.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                              return CheckCode::Safe
                                        Severity: Major
                                        Found in modules/exploits/unix/ssh/arista_tacplus_shell.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language