Unwanted comment

bug/bundler_fix
wchen-r7 2016-01-21 00:55:08 -06:00
parent bda76c7340
commit d515e4db64
1 changed files with 0 additions and 4 deletions

View File

@ -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*")