Showing 15,831 of 21,886 total issues
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears("User #{username} has the required privileges for exploitation to work without privilege escalation.")
Avoid too many return
statements within this method. Open
Open
return [false, "Received unexpected response while attempting to trigger the notification. The payload likely wasn't executed."]
Avoid too many return
statements within this method. Open
Open
return [true, "Successfully deescalated privileges by removing #{@role_to_add}"]
Avoid too many return
statements within this method. Open
Open
return
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
Avoid too many return
statements within this method. Open
Open
return [true, 'Received expected response while triggering the payload. Please be patient, it may take a few seconds for the payload to execute.']
Avoid too many return
statements within this method. Open
Open
return [false, 'Failed to parse the users.xml file while attempting to deescalate privileges. Manual cleanup is required.']
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 [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::Unknown("#{peer} - Could not connect to web service")
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 nil
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return unless ssh
Avoid too many return
statements within this method. Open
Open
return checkcode
Avoid too many return
statements within this method. Open
Open
return nil