We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edcc306 commit 5945e0dCopy full SHA for 5945e0d
modules/exploits/linux/http/bentoml_rce_cve_2025_27520.rb
@@ -100,7 +100,7 @@ def find_api_endpoint
100
end
101
102
def exploit
103
- @api_endpoint = datastore['ENDPOINT'].empty? ? find_api_endpoint : datastore['ENDPOINT']
+ @api_endpoint = datastore['ENDPOINT'].blank? ? find_api_endpoint : datastore['ENDPOINT']
104
fail_with(Failure::Unknown, 'No endpoint specified or no vulnerable api endpoint found.') unless @api_endpoint
105
print_status("Use #{@api_endpoint} as api endpoint.")
106
0 commit comments