Formatting
This commit is contained in:
@@ -351,7 +351,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||
sha256_digest = OpenSSL::Digest.new('sha256')
|
||||
expected = OpenSSL::HMAC.digest(sha256_digest, key, data[..-11])[..9]
|
||||
unless OpenSSL::HMAC.digest(sha256_digest, key, mac) == OpenSSL::HMAC.digest(sha256_digest, key, expected)
|
||||
raise "Invalid ciphertext received."
|
||||
raise "Invalid ciphertext received."
|
||||
end
|
||||
|
||||
size = key.length * 8
|
||||
|
||||
Reference in New Issue
Block a user