Skip to content

Commit 6508964

Browse files
committed
For consistency with other post modules, also do a store_loot
1 parent c1794e9 commit 6508964

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

modules/post/windows/gather/credentials/bulletproof_ftp.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,18 @@ def run
303303

304304
print_line("\n" + results + "\n")
305305

306+
if not @credentials.rows.empty?
307+
p = store_loot(
308+
'bulletproof.creds',
309+
'text/plain',
310+
session,
311+
@credentials.to_csv,
312+
'bulletproof.creds.csv',
313+
'BulletProof Credentials'
314+
)
315+
print_status("Data stored in: #{p.to_s}")
316+
end
317+
306318
end
307319

308320
end

0 commit comments

Comments
 (0)