Unwanted comment
parent
bda76c7340
commit
d515e4db64
|
@ -709,10 +709,6 @@ class Metasploit3 < Msf::Post
|
|||
labels = ["name", "folder", "url", "notes", "undefined", "undefined2", "username", "password"]
|
||||
vault_data = []
|
||||
for label in labels
|
||||
#if chunk[pointer..pointer + 3].nil?
|
||||
# vprint_error "Vault account could not be parsed"
|
||||
# return nil
|
||||
#end
|
||||
length = chunk[pointer..pointer + 3].unpack("H*").first.to_i(16)
|
||||
encrypted_data = chunk[pointer + 4..pointer + 4 + length - 1]
|
||||
label != "url" ? decrypted_data = decrypt_vault_password(vault_key, encrypted_data) : decrypted_data = [encrypted_data].pack("H*")
|
||||
|
|
Loading…
Reference in New Issue