Fix regex

This commit is contained in:
Brendan Coles
2014-05-01 16:36:01 +10:00
parent c61dee7275
commit e8e4180eee

View File

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