Showing 15,730 of 21,757 total issues
Avoid too many return
statements within this method. Open
Open
return [h_id, ld_id]
Avoid too many return
statements within this method. Open
Open
return nil if potential_targets.empty?
Avoid too many return
statements within this method. Open
Open
return nil
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears("Exploitable Version Detected: #{@version}")
Avoid too many return
statements within this method. Open
Open
return
Avoid too many return
statements within this method. Open
Open
return
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
Avoid too many return
statements within this method. Open
Open
return Exploit::CheckCode::Safe("#{peer} - Unexpected response, unable to determine version")
Avoid too many return
statements within this method. Open
Open
return Exploit::CheckCode::Safe
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::Appears(
"Netsweeper #{version} is a vulnerable version."
)
Avoid too many return
statements within this method. Open
Open
return Rex::Version.new(@glinet['firmware']) >= Rex::Version.new('4.0.0') && Rex::Version.new(@glinet['firmware']) <= Rex::Version.new('4.4.3')
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return Exploit::CheckCode::Safe("#{peer} - Unexpected response, unable to determine version") if json_body['version'].nil?
Avoid too many return
statements within this method. Open
Open
return deal_with_failure_by_mode(mode, "Failed to parse the users.xml file while attempting to #{deescalate ? 'deescalate' : 'escalate'} privileges: #{e}", 'unexpected_reply')
Avoid too many return
statements within this method. Open
Open
return CheckCode::Appears if revision.to_i < 10
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 deal_with_failure_by_mode(mode, "Received unexpected reply while attempting to #{deescalate ? 'deescalate' : 'escalate'} privileges", 'unexpected_reply')