Downgrade error to warning

This commit is contained in:
bcoles
2014-04-20 18:52:14 +09:30
parent 7689af8e2c
commit 354c3f1af0

View File

@@ -110,7 +110,7 @@ module BeEF
if @configuration.get('beef.http.https.enable') == true
openssl_version = OpenSSL::OPENSSL_VERSION
if openssl_version =~ / 1\.0\.1([a-f])/
print_error "Warning: #{openssl_version} is vulnerable to Heartbleed (CVE-2014-0160)."
print_warning "Warning: #{openssl_version} is vulnerable to Heartbleed (CVE-2014-0160)."
print_more "Upgrade OpenSSL to version 1.0.1g or newer."
end
@http_server.ssl = true