Showing 15,730 of 21,757 total issues
Avoid too many return
statements within this method. Open
Open
return [false, 'Failed to deescalate privileges. Manual cleanup is required.']
Avoid too many return
statements within this method. Open
Open
return CheckCode::NotVulnerable if num_vers <= Rex::Version.new('6.10.17')
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears if revision.to_i < 4
Avoid too many return
statements within this method. Open
Open
return checkcode
Avoid too many return
statements within this method. Open
Open
return CheckCode::Detected('Could not determine the OpenTSDB version: the HTTP response body did not match the expected JSON format.')
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe("The target is OpenTSDB version #{version}")
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears("User #{username} has #{@highest_priv} privileges. Exploitation is likely possible via privilege escalation to ROLE_FILESYSTEM_EDITOR.")
Avoid too many return
statements within this method. Open
Open
return CheckCode::Unknown("Failed to obtain a valid OpenNMS version: #{e}")
Avoid too many return
statements within this method. Open
Open
return CheckCode::Detected("Exploitation requires privilege escalation, which is not possible for OpenNMS version #{version}.")
Avoid too many return
statements within this method. Open
Open
return deal_with_failure_by_mode(mode, message, 'unexpected_reply')
Avoid too many return
statements within this method. Open
Open
return Exploit::CheckCode::Unknown
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears("The target is OpenTSDB version #{version}")
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears if revision.to_i < 3
Avoid too many return
statements within this method. Open
Open
return [false, message] unless success # this is only used for cleanup. for exploit this cannot happen
Avoid too many return
statements within this method. Open
Open
return CheckCode::Detected('Could not determine the OpenTSDB version: the HTTP response body did not match the expected JSON format.')
Avoid too many return
statements within this method. Open
Open
return CheckCode::Safe
Avoid too many return
statements within this method. Open
Open
return [false, xml_doc_or_msg] unless success # this is only used for cleanup. for exploit this cannot happen
Avoid too many return
statements within this method. Open
Open
return [false, privs_or_msg] unless success
Avoid too many return
statements within this method. Open
Open
return
Avoid too many return
statements within this method. Open
Open
return privs_or_check_code unless success