Fix lsa_secrets
parent
54a45ac80c
commit
704c8cadd9
|
@ -59,7 +59,12 @@ class Metasploit3 < Msf::Post
|
|||
decrypted = decrypt_lsa_data(encrypted_secret, lsa_key)
|
||||
else
|
||||
# and here
|
||||
if sysinfo['Architecture'] =~ /wow64/i || sysinfo['Architecture'] =~ /x64/
|
||||
encrypted_secret = encrypted_secret[0x10..-1]
|
||||
else # 32 bits
|
||||
encrypted_secret = encrypted_secret[0xC..-1]
|
||||
end
|
||||
|
||||
decrypted = decrypt_secret_data(encrypted_secret, lsa_key)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue