From d515e4db64599bbec46b796319c6868497e8235d Mon Sep 17 00:00:00 2001 From: wchen-r7 Date: Thu, 21 Jan 2016 00:55:08 -0600 Subject: [PATCH] Unwanted comment --- modules/post/multi/gather/lastpass_creds.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/post/multi/gather/lastpass_creds.rb b/modules/post/multi/gather/lastpass_creds.rb index 3f7707ee4a..7e84160e33 100644 --- a/modules/post/multi/gather/lastpass_creds.rb +++ b/modules/post/multi/gather/lastpass_creds.rb @@ -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*")