Showing 15,730 of 21,757 total issues
Avoid too many return
statements within this method. Open
Open
return Rex::Version.new(@d_link['firmware']) <= Rex::Version.new('2.03') && @d_link['hardware'][0] == 'B'
Avoid too many return
statements within this method. Open
Open
return Rex::Version.new(@d_link['firmware']) <= Rex::Version.new('2.05') && @d_link['hardware'][0] == 'B'
Avoid too many return
statements within this method. Open
Open
return CheckCode::Detected("Product info: #{@d_link['product']}|#{@d_link['firmware']}|#{@d_link['hardware']}|#{@d_link['arch']}") unless @d_link['product'].nil?
Avoid too many return
statements within this method. Open
Open
return true
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears("Version of runc detected appears to be vulnerable: #{unfiltered_version}.")
Avoid too many return
statements within this method. Open
Open
return true
Avoid too many return
statements within this method. Open
Open
return CheckCode::Detected("#{suid_exe_path} is not readable") unless readable?(suid_exe_path)
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears # ("The kernel #{version} appears to be vulnerable, but no offsets are available for this version")
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe('Kernel config does not include CONFIG_USER_NS')
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe("System architecture #{arch} is not supported") unless arch.include?('x86_64')
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe("System has less than #{min_required_cores} CPU cores")
Avoid too many return
statements within this method. Open
Open
return CheckCode::Unknown('Could not retrieve kernel config')
Avoid too many return
statements within this method. Open
Open
return CheckCode::Vulnerable
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe('The target does not appear vulnerable')
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe("zysudo.suid copy failed. System version: #{model_id}, #{firmware_ver}")
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe('Check method only available for Debian/Ubuntu systems')