Update cachedump.rb

Change to OpenSSL::Digest from deprecated OpenSSL::Digest::Digest
bug/bundler_fix
Niel Nielsen 2014-01-07 22:14:10 +01:00
parent 21b146fab3
commit 266b040457
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class Metasploit3 < Msf::Post
end
def decrypt_hash(edata, nlkm, ch)
rc4key = OpenSSL::HMAC.digest(OpenSSL::Digest::Digest.new('md5'), nlkm, ch)
rc4key = OpenSSL::HMAC.digest(OpenSSL::Digest.new('md5'), nlkm, ch)
rc4 = OpenSSL::Cipher::Cipher.new("rc4")
rc4.key = rc4key
decrypted = rc4.update(edata)